NetBeans 6.0/Script Console Window

Has anyone figured out how to turn NetBeans IRB window into Ruby on
Rails script/console window where the gems like ActiveRecord, ActionPack
etc are recognized? May be an easy one for the Rails Guru’s out there,
not for me. By default, the NetBeans IRB window only loads Ruby. I am
trying to see how well NetBeans 6.0’s Ruby/RoR support works fully
realizing that it is an alpha environment?
Bharat

OK. Here is what I got thus far. I have installed InstantRails which
comes with its own “everything” and works well. Just point your
NetBeans 6.0 to InstantRail’s instance of MySQL. You can easily do that
since NetBeans only wants the MySQL URL and the database could be
running anywhere. Now use NetBeans to do editing/browsing etc. and use
InstantRail’s Console to do interactive debugging etc. You will have
multiple servers loaded this way, i.e. two instances of “Java” since
NetBeans defaults to JRuby and launches its own version of Webrick in a
JVM etc. If you have sufficiant RAM (I have two Gigs), you can have a
great development environment.
Looking good. My goal is to see how well can we leverage the NetBeans
environment for Ruby/RoR development.

My experience running Daily builds of NB6 w/ Ruby have been
interesting over the last two weeks. The editor and code formatting
are great. The rest of the IDE pales in comparison to Eclipse
Runtime w/ RDT, RadRails, Subclipse. I like the editor though.

You can switch it off of JRuby on to your regular Ruby & Rails install
in the prefs.

IRB in NB is just IRB [ AFAIK ] and not the script/console you get
with rails.

The other thing that SUX is that it fires up webrick and there is no
way to stop/start webrick (I use mongrel). Even if you quit NB it
leaves WB hanging as an orphaned thread a lot of the time.

On Mar 9, 8:14 am, Bharat R. [email protected]

dysinger wrote:

My experience running Daily builds of NB6 w/ Ruby have been
interesting over the last two weeks. The editor and code formatting
are great. The rest of the IDE pales in comparison to Eclipse
Runtime w/ RDT, RadRails, Subclipse. I like the editor though.

You can switch it off of JRuby on to your regular Ruby & Rails install
in the prefs.

IRB in NB is just IRB [ AFAIK ] and not the script/console you get
with rails.

The other thing that SUX is that it fires up webrick and there is no
way to stop/start webrick (I use mongrel). Even if you quit NB it
leaves WB hanging as an orphaned thread a lot of the time.

On Mar 9, 8:14 am, Bharat R. [email protected]

Hello dysinger,
You wrote:
"The rest of the IDE pales in comparison to Eclipse

Runtime w/ RDT, RadRails, Subclipse. I like the editor though."
I have not worked with any of them. Would love to hear from you the
specifics.
Another point:

"> You can switch it off of JRuby on to your regular Ruby & Rails
install

in the prefs."

I am trying to figure this out. How do you do that? If you can share
the steps to do this, that would be great.

Thanks

p.s. Eclipse foundation just announced that they will be officially
supporting Ruby amongst other scripting languages. What do you think of
it?