Wednesday | 3 December, 2008
Climb aboard Ruby on Rails
Sifting through nine Rails IDEs and editors to help you choose the tools to suit your development needs
Martin Heller (InfoWorld) 08/07/2008 09:31:50

3rdRail offers numerous helpers in the edit window. For example, right-clicking in an edit window brings up a context menu with more than a dozen items, many of which bring up submenus.

Because 3rdRail is more expensive than any other tool reviewed in this suite, and because some of the free tools are more than adequate for Rails development, I would suggest 3rdRail only for developers who spend most of their time building Rails and could justify the increased cost in terms of productivity gains.

To view a video of CodeGear in action, go here. For more on the product's features, go here.

NetBeans IDE 6.1

NetBeans has long been a strong Java development environment. It gained Ruby and Rails support in the last year. With Version 6.1, NetBeans is a seriously good Rails IDE.

NetBeans grew up as a Java IDE and is a Sun product, so it's no surprise that it has excellent support for JRuby. It also supports standard Ruby, however, and has a Ruby Platform Manager to let you choose the Ruby interpreter used for a project.

The NetBeans Ruby source code editor demonstrates all sorts of intelligence about code formatting and syntax. In addition, a right-click in the code editor brings up a context menu that lets you navigate from action to view to test to declaration, rename, refactor, reformat, run, test, set a breakpoint, debug, or find usages. Each common action has a keystroke equivalent displayed on the menu; use the menu enough and you'll learn them naturally. This is similar to the way TextMate bundles behave, although not as programmable.

Right-clicking in the project view brings up a context menu that lets you generate a new resource, create a new file, run or debug rake tasks, add plug-ins, or run tests. Any time you cause a command to run, it opens a new tab in the window at the bottom of the workspace for the output. If there is error output, references to lines of code are hyperlinked to make it easy to jump to the correct code, very much like 3rdRail.

The code editor supports a number of shortcuts, snippets, and code templates, including a subset of the TextMate snippets. The number of predefined Ruby and RHTML templates in NetBeans pales beside the number of Java templates, but you can define your own templates.

NetBeans uses the ruby-debug-ide gem for fast debugging. It came configured for the fast debugger in JRuby but not standard Ruby; I had a little trouble convincing it to switch to fast debugging for standard Ruby, but it did eventually catch on after a couple of restarts and an update.

NetBeans may well be the overall pick of this review group, at least based on the numbers. Whether it should be your own pick, however, depends on your personal preferences. For example, Eclipse fans may prefer RadRails or 3rdRail, and fans of "bundles" may prefer TextMate or E.

More information about NetBeans, including five videos, can be found here.

Computerworld Buyer's Guide - Vendors Matched to this Article
Ruby on Rails
Ruby on Rails
Computerworld Buyer's Guide - Vendors Matched to this Article
Additional Resources
Executive Guides
Whitepapers
Zones
Zone logoZones provide focussed content from Computerworld and leading technology partners.
Newsletter Subscription
Sign up for our Computerworld newsletters!
RSS Feeds
Market Place

 

Smart SOA World Tour

Discover how SOA can create smarter outcomes for your business.

Attend and learn:

  • How SOA is helping leading companies to become more agile
  • Where you should be applying SOA processes in your company
  • The top SOA implementation mistakes to avoid

Click here for more information.
Whitepaper

CRM your salespeople will love

Winning over the sales department and obtaining buy-in at all levels is crucial to the success of any CRM initiative. Discover how you can let salespeople work how they want to and reduce their administrative burden with the latest CRM technology.

Enterprise IT Buyer's Guide
Find Technology Vendors Fast
 
Find vendors by name | Find by category
Sponsored Links