NetBeans 6.1 JRuby trick: Enable JRuby Console
NetBeans 6.1 has been released recently, and the upgrade was easy and pain-free for me. I haven’t found any serious problems so far and the release looks very solid and performant. The Java stuff works just fine, and Ruby capabilities are great. For those who look for a great and intelligent Ruby editor, NetBeans is one of the great candidates.
One minor issue with NetBeans 6.1 is that it ships by default with very basic IRB console for Ruby: no history, no pop-ups for code completion. Since I’m used to JRuby IRB Console which provides those advanced features, that was a bit of inconvenience for me.
One of NetBeans guys, Martin Krauskopf is to the rescue! It turned out that there is a special property that enables the full JRuby IRB Console. Just add
1: -J-Dirb.jruby=true
to the netbeans_default_options entry in the etc/netbeans.conf file. A word of caution though: The JIRB Console was disabled by default due to some problems it was causing in some environments. For me, on Windows, it works just great.
May 6th, 2008 at 9:14 pm
NetBeans 6.1 JRuby trick: Enable JRuby Console…
[...]One minor issue with NetBeans 6.1 is that it ships by default with very basic IRB console for Ruby: no history, no pop-ups for code completion. Since I’m used to JRuby IRB Console which provides those advanced features, that was a bit of inconve…
May 8th, 2008 at 12:07 am
Thanks for publishing this, since we did not know this (using Linux and Mac). I’ve created a new wiki entry:
http://wiki.netbeans.org/FaqRubyJIRBInNetBeans61
Luckily the switch was introduced by Tor some time ago. Was nice vision
May 28th, 2008 at 9:24 am
Hello,
Great news, but tell me please, do you know about some plans to implement such behaviour in Rails Console? I think about full coloured output and code completion and stuff likie that. In fact current Rails Console in NetBeans IDE is absolutely useless form me without code completion.