Can't update from 1.5.0

Stephen Sykes's Avatar

Stephen Sykes

11 May, 2011 06:17 AM

It fails like this:

sds$ ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
sds$ gem --version
1.5.0
sds$ gem update --system
Updating RubyGems
ERROR: While executing gem ... (NoMethodError)

undefined method `version' for nil:NilClass

sds$

  1. 2 Posted by Stephen Sykes on 11 May, 2011 06:25 AM

    Stephen Sykes's Avatar

    Ok, installing rubygems-update does work.

    Of course there is a ton of this kind of thing:

    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/sds/.rvm/gems/ruby-1.9.2-p0/specifications/rubygems-update-1.8.1.gemspec:11.

  2. Support Staff 3 Posted by Ryan Davis on 13 May, 2011 09:26 AM

    Ryan Davis's Avatar

    gem pristine --all --no-executables and following up individually with the binary gems will clear up the deprecations.

  3. Ryan Davis closed this discussion on 13 May, 2011 09:26 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

29 Aug, 2014 06:23 PM
28 Aug, 2014 07:18 PM
27 Aug, 2014 12:03 PM
26 Aug, 2014 07:09 PM
26 Aug, 2014 07:07 PM