Now the next big question. Which is the best IDE to use? All the screencasts, tutorials and books I have read, use textmate as their primary editor. Textmate is only available for Mac OS but there are some nice alternatives for Linux.
1. Vi:
Rails.Vim is a Rails plugin for Vim. I am not a huge fan of Vi but I know a whole lot of folks are.
2. Gedit:
With some nice 3rd party plugins, Gedit can be used as a really powerful editor for Rails. Read gedit for Textmate-like Gedit in a few steps.
3.Aptana/Eclipse with RadRails:
RadRails is an open source IDE for the Ruby on Rails framework that runs on top of eclipse. Easily the most powerful IDE available for Rails development on Linux but it can be a resource hog at times and not recommended for the casual developer.
4. NetBeans IDE 6.1:
My favorite editor by far when it comes to Java development. The latest version boasts of a really neat integration of RoR. Like eclipse, it does take up a lot of memory resource.
5. Kate:
I really like the way the console is integrated into Kate. Kate supports syntax highlighting for ruby, rhtml etc.
6. Other Notable mentions:
JEdit, SciTe, FreeRide, NEdit and Bluefish.
Well, there are plenty of choices available but the selection of the best IDE rests at the user's familiarity and preference to a certain environment. Hope this article helps you get started with RoR development on Linux. Have fun coding!