Failure updating to RubyGems 1.5.0 on jruby 1.5.6
Hi. I have successfully updated rubygems to version 1.5.0 on all
my rubies except for JRuby.
$ rvm list rvm rubies ruby-1.9.2-p136 [ x86_64 ] rbx-1.2.0-20101221 [ ] ree-1.8.7-2010.02 [ x86_64 ] ruby-1.8.7-p330 [ x86_64 ] => jruby-1.5.6 [ amd64-java ]
Here is the transcript:
$ ruby -v
jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2010-12-03 9cf97c3) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) [amd64-java]
$ gem -v
1.3.6
$ gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.5.0
Updating RubyGems to 1.5.0
Installing RubyGems 1.5.0
~/.rvm/gems/jruby-1.5.6/gems/rubygems-update-1.5.0/lib/rubygems/gem_runner.rb:84: undefined method `load_plugins' for Gem:Module (NoMethodError)
from ~/.rvm/gems/jruby-1.5.6/gems/rubygems-update-1.5.0/lib/rubygems/gem_runner.rb:31:in `require'
from ~/.rvm/rubies/jruby-1.5.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from setup.rb:25
RubyGems system software updated
$ gem -v
1.3.6
I have also tried gem install rubygem-update;
update_rubygems and ruby setup.rb variants, to
the exactly same effect.
Comments are currently closed for this discussion. You can start a new one.
2 Posted by Charles Oliver Nutter on 01 Feb, 2011 11:02 PM
Hmm, I'm not sure why this is happening. You may want to file this as a JRuby bug at http://bugs.jruby.org. Provide a list of gems you have installed and whether you've modified RubyGems in any way.
Also, JRuby 1.6.0RC2 will ship with RubyGems 1.5.0 out of the box. That may be another upgrade path for you.
3 Posted by Adriano on 02 Feb, 2011 01:58 AM
Done. (http://jira.codehaus.org/browse/JRUBY-5442)
Support Staff 4 Posted by Nick Quaranto on 11 Feb, 2011 01:11 AM
Great, closing this issue here then.
Nick Quaranto closed this discussion on 11 Feb, 2011 01:11 AM.