Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.1, JRuby 0.9.2, JRuby 0.9.8
-
Fix Version/s: JRuby 1.0.0RC1
-
Component/s: Miscellaneous
-
Labels:None
-
Environment:Linux
-
Number of attachments :
Description
Any directories set in environment variable RUBYLIB will be added to the load path $: by Ruby. JRuby does not seem to do this however. For example:
export RUBYLIB=/some/path
echo 'puts $:' | ruby
=>
/some/path
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/i486-linux
....
but...
echo 'puts $:' | jruby
=>
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/i486-linux
....
This isn't major, but it should be fixed for 1.0. It shouldn't be a hard one for someone else to tackle, either.