Failure updating to RubyGems 1.5.0 on jruby 1.5.6

Adriano's Avatar

Adriano

01 Feb, 2011 10:41 AM

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.

  1. 1 Posted by Charles Oliver ... on 01 Feb, 2011 11:02 PM

    Charles Oliver Nutter's Avatar

    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.

  2. 2 Posted by Adriano on 02 Feb, 2011 01:58 AM

    Adriano's Avatar
  3. Support Staff 3 Posted by Nick Quaranto on 11 Feb, 2011 01:11 AM

    Nick Quaranto's Avatar

    Great, closing this issue here then.

  4. Nick Quaranto closed this discussion on 11 Feb, 2011 01:11 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM