A.7. Choosing a Text Editor
You'll need to type your code into something. Here are a few of options to consider.
On the Mac, TextMate (www.macromates.com) has emerged as the clear favorite among Ruby programmers. Unlike the other programs on this page, it's not free, but it is extremely powerful and flexible. It comes with a number of easily extendible shortcuts for Ruby, Rails, and Subversion.
On the Windows side, the E text editor (www.e-texteditor.com) attempts to recreate the TextMate structure, but at the time of this writing, it's not quite mature.
There are a few cross-platform text editors worth a look. Eclipse (www.eclipse.org) includes the Aptana plugin, formerly known as RadRails. At one point, this was pretty much the only game in town for Ruby syntax coloring and such on Windows, but other tools have been catching up fast. If you are already comfortable with Eclipse, this is an easy way to get a Rails tool.
NetBeans (www.netbeans.org) has just added significant Ruby support for version 6.0, with an eye toward supporting JRuby development. It's feature-rich but in a user interface that I've never quite been able to get used to. IntellJ IDEA (www.jetbrains.com/idea) has added Ruby and Rails support for version 7, but I haven't yet gotten a chance to evaluate it. IDEA is also a commercial program.
jEdit (www.jedit.org) is a Java-based text editor that contains a Ruby plugin. It's a little barebones compared to the full IDEs, but it's still quite usable.
If you want to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access