From: Eric Hodel Date: 2008-10-02T03:47:16+09:00 Subject: Re: RubyGems 1.3.0 On Sep 30, 2008, at 13:25 PM, Paul Dowman wrote: > Kevin Williams wrote: >> Vassilis Rizopoulos wrote: >>> Eric Hodel wrote: >>>> Note! Some versions of RubyGems have a bug that will prevent >>>> automatic updates. If RubyGems says it has nothing to update, run: >>>> >>>> $ gem install rubygems-update >>>> $ update_rubygems >>> Yep. Doing sudo gem update on a MacOS X 10.5.5/Ruby 1.8.6/Gem 1.2.0 >>> installation produced an error: >>> >>> Updating rubygems-update >>> Successfully installed rubygems-update-1.3.0 >>> ERROR: While executing gem ... (NameError) >>> undefined local variable or method `remote_gemspecs' for >>> # >>> >> >> FYI - I have this error on every Ruby install I've got: Mac, Windows, >> Linux. All are Gems 1.2.0, but some are ruby 1.9, some are 1.8.7, >> some >> are 1.8.6, and some are JRuby. > > When you install the rubygems-update gem, make sure you install the > version that matches your current version of rubygems. The following > will do it: > > gem install rubygems-update -v `gem --version` > > Note that the quotes are backquotes (i.e. shift plus the tilde (~) key > on a standard US keyboard). No. This will leave you with whatever version of RubyGems you have, and will not upgrade you to 1.3.0.