RubyMine is very nice, but I think that I would avoid it during learning stages. It adds a lot of complexity, like most IDEs do, which can cause you to spend a lot of your time at the beginning learning the IDE rather than learning the language (Ruby) or the framework (Rails.)