TOTD #27: Configurable Multiple Ruby Platforms in NetBeans 6.1 M1

how-to
Feb 15, 20081 min

NetBeans 6.1 M1 is now available. Download here!

There are

several features in M1

. But the feature I liked the most is storing multiple Ruby/JRuby runtime configurations in the IDE. In NetBeans 6.0 only one Ruby platform could be configured and stored. So if you have to change to another Ruby environment then you have to edit the values in the IDE. 6.1 M1 allows to configure and store multiple Ruby/JRuby runtimes. Click on “

Tools

“, “

Ruby
Platforms

” and you are presented with the following window:

NetBeans 6.1 M1 Ruby Platform Addition

I’ve already added JRuby 1.0.3 as an additional platform. And then you can choose the Ruby/JRuby runtime when creating the Rails application as shown below:

NetBeans 6.1 M1 Ruby Platform Selection

Cool, isn’t it ?

Please leave suggestions on other TOTD that you’d like to see. A complete archive is available here.

Technorati: totd rubyonrails jruby ruby netbeans