Bugs item #28924, was opened at 2011-02-12 11:46
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28924&group_id=126
Category: RubyGems installer (setup.rb)
Group: v1.5.x
Status: Open
Resolution: None
Priority: 3
Submitted By: William Mason (william)
Assigned to: Nobody (None)
Summary: gem update_rubygems Fails on JRuby 1.5
Initial Comment:
Hi there,
I get a 'NoMethodError' when I try to execute update_rubygems from the command
line after loading rubygems-update-1.5.2.gem (downloaded from RubyForge).
Incidentally the rubygems-update-1.5.2.gem that is on GemCutter (rubygem.org)
is corrupt. It won't even open as a valid zip archive. The zip file was OK.
I successfully ran the complete rubygems-update process with ruby 1.8.7
including the: update_rubygems, script. Worked fine.
Using jRuby 1.5, the:
gem install rubygems-update-1.5.2.gem
Worked great (apparently). However the
update_rubygems
Script falls over with a: 'NoMethodError' for: 'load_plugins' (see below).
Normally gems work find with jruby. I tried this process with jRuby v1.3 and
received a similar fail. I'm wondering if there's not a supporting gem missing
on the Java side? If so it is definitely worth noting in the read-me.
Please advise of how to get the gems working with jRuby. Also, what was the
last version of rubygems known to be ok on jRuby (on window).
Many thanks
Will
--------------------
W:...> ruby c:\bin\ruby\j1.5\bin\update_rubygems
C:/bin/ruby/j1.5/lib/ruby/gems/1.8/gems/rubygems-update-1.5.2/lib/rubygems/gem_runner.rb:84:
undefined method `load_plugins' for Gem:Module (NoMethodError)
from
C:/bin/ruby/j1.5/lib/ruby/gems/1.8/gems/rubygems-update-1.5.2/lib/rubygems/gem_runner.rb:31:in
`require'
from
c:/bin/ruby/j1.5/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from setup.rb:25
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28924&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers