On Apr 6, 2:17 am, Jasper Kooij <[email protected]> wrote:
> How are you doing a ruby console in netbeans 6.5?
Right-click a ruby project and choose Ruby Shell(IRB).
A GUI alternative which works outside of Netbeans, allows to retrieve
lines already typed (contrary to the version in Netbeans), and
launches much more faster than inside of Netbeans, is to run in the
Terminal jirb_swing.
Both usage are explained in the pdf file for the first lesson:
ruby_basics.pdf at least for PC machines.
For Mac OS X machines, you have to add those lines in your bash
profile:
PATH=whateverhere:/Applications/NetBeans/NetBeans\ 6.5.1.app/Contents/
Resources/NetBeans/ruby2/jruby-1.1.4/bin
JRUBY_HOME=/Applications/NetBeans/NetBeans\ 6.5.1.app/Contents/
Resources/NetBeans/ruby2/jruby-1.1.4
export whateverhere JRUBY_HOME PATH
as jirb uses jruby location environment settings at launch time.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---