On Thu, Aug 27, 2009 at 10:22 AM, David
Calavera<[email protected]> wrote:
> Hi I'm trying to check a jirb bug is fixed,
> http://jira.codehaus.org/browse/JRUBY-3918, but I suspect when I run jirb
> from jruby source code it's still using my jruby installation libraries. Is
> there a way to run jirb with the development code? The uniq solution I find
> is to change my path but I'll prefer don't do it.
>
> Why do I suspect that?
>
> /dev/jruby-trunk$ bin/jirb RUNS JIRB FROM THE DEVELOPMENT DIRECTORY
> irb(main):001:0> [].each.with_index
> LocalJumpError: no block given
> from /opt/jruby/lib/ruby/1.8/irb/ruby-token.rb:102:in `each' STACK
> TRACE SHOWS MY INSTALLED PATH
> from (irb):2:in `irb_binding'
> Maybe IRB bug!!
> irb(main):002:0>
Do you have JRUBY_HOME set? You'll probably be more sane by not
setting JRUBY_HOME and simply using PATH manipulation to decide which
JRuby you use. You can also use relative-paths to scripts as a way of
selecting JRuby.
/Nick
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email