[Rubygems-developers] Problems updating a system from 1.2 to 1.3.1

Jeroen van Meeuwen kanarip at kanarip.com
Sun Nov 9 08:56:05 EST 2008


Jim Freeze wrote:
> Has anyone experienced this problem:
> 
> jdf at host29 703 /Users/jdf/bin % gem -v
> 1.2.0
> jdf at host29 704 /Users/jdf/bin % sudo gem update --system
> Password:
> Updating RubyGems
> Updating rubygems-update
> Successfully installed rubygems-update-1.3.1
> ERROR:  While executing gem ... (NameError)
>     undefined local variable or method `remote_gemspecs' for
> #<Gem::Commands::UpdateCommand:0x105c390>
> jdf at host29 705 /Users/jdf/bin % gem -v
> 1.2.0
> jdf at host29 706 /Users/jdf/bin % sudo gem update --system
> Updating RubyGems
> Nothing to update
> jdf at host29 707 /Users/jdf/bin % gem -v
> 1.2.0
> jdf at host29 708 /Users/jdf/bin % rehash
> jdf at host29 709 /Users/jdf/bin % gem -v
> 1.2.0
> 
> I also downloaded the .gem file for 1.3.1 and installed it, but still
> only had 1.2 returned from 'gem -v'.
> I finally downloaded the .tgz file and was able to install 1.3.1.
> 

I've not seen this behaviour but I have been successfully packaging 
rubygems-1.3.1-1 for Fedora / EPEL (from .tgz):

https://bugzilla.redhat.com/show_bug.cgi?id=470688

Kind regards,

Jeroen van Meeuwen
-kanarip


More information about the Rubygems-developers mailing list