Issue Details (XML | Word | Printable)

Key: JRUBY-79
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Charles Oliver Nutter
Reporter: Danny Lagrouw
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

RUBYLIB environment variable ignored

Created: 11/Aug/06 05:01 PM   Updated: 06/May/07 09:49 PM
Component/s: Miscellaneous
Affects Version/s: JRuby 0.9.1, JRuby 0.9.2, JRuby 0.9.8
Fix Version/s: JRuby 1.0.0RC1

Time Tracking:
Not Specified

File Attachments: 1. Text File loadServeice.patch (1 kB)

Environment: Linux


 Description  « Hide
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
....



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Oliver Nutter added a comment - 17/Apr/07 03:11 PM
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.

Koichiro Ohba added a comment - 03/May/07 09:30 PM
I fixed the bug. Please check the patch.

Thomas E Enebo added a comment - 04/May/07 01:59 PM
Applied patch by Koichiro Ohba. Fixed in commit 3622.

Charles Oliver Nutter added a comment - 06/May/07 09:49 PM
Closing for 1.0RC1