Skip to main content

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

Posted by arungupta on February 15, 2008 at 6:24 AM PST

href="http://www.netbeans.org/servlets/ReadMsg?listName=nbusers&msgNo=109903">NetBeans
6.1 M1 is now available. Download href="http://bits.netbeans.org/netbeans/6.1/m1/latest/">here!

There are href="http://wiki.netbeans.org/NB61NewAndNoteWorthy">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:

alt="NetBeans 6.1 M1 Ruby Platform Addition"
title="NetBeans 6.1 M1 Ruby Platform Addition"
src="http://blogs.sun.com/arungupta/resource/nb6.1-ruby-platform-addition.png">

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:

alt="NetBeans 6.1 M1 Ruby Platform Selection"
title="NetBeans 6.1 M1 Ruby Platform Selection"
src="http://blogs.sun.com/arungupta/resource/nb6.1-ruby-platform-selection.png">

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 href="http://technorati.com/tag/ruby">ruby href="http://technorati.com/tag/netbeans">netbeans

Related Topics >>