1.2.0: jruby --1.9 picks up the wrong path for loading modules
--------------------------------------------------------------
Key: JRUBY-3511
URL: http://jira.codehaus.org/browse/JRUBY-3511
Project: JRuby
Issue Type: Bug
Components: Interpreter
Affects Versions: JRuby 1.2
Environment: MacOS X 10.5.6, jruby installed from macports.
Reporter: Ollivier Robert
/usr/local/bin/rake has been installed by ruby 1.9.2pre (from Ruby's svn trunk).
364 [21:12] robe...@sidhe:HG/old-crypto> jruby --1.9 =rake test
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:150:in
`parse': Illformed requirement [">= 0"] (ArgumentError)
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:75:in
`initialize'
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:74:in
`map'
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:74:in
`initialize'
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:63:in
`default'
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/specification.rb:1030
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/specification.rb:9:in
`require'
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:9
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:866:in
`require'
from /opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:866
from
/opt/local/share/java/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:9:in `require'
from /usr/local/bin/rake:9
See that it is loading rubygems from "1.8".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email