Undefined method `refresh' after rubygem 0.9.1 upgrade

I upgraded RubyGems to 0.9.1 using Eric’s instructions here:

http://blog.segment7.net/articles/2007/01/18/rubygems-0-9-1

basically:

gem update
gem pristine --all

but now I get this error:

gem update sexp
Updating installed gems…
ERROR: While executing gem … (NoMethodError)
undefined method `refresh’ for #Hash:0x1055db4

I tried re-installing manually, downloading the archive and running
ruby setup.rb all and get the same error.

system: macos 10.4.8, ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1]
Anybody have a clue about what to do?

On Jan 18, 2007, at 13:31, Stephen B. wrote:

I tried re-installing manually, downloading the archive and running
ruby setup.rb all and get the same error.

system: macos 10.4.8, ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1]
Anybody have a clue about what to do?

Run these:

gem sources
sudo gem sources

then send me a copy of your user (~/.gem/source_cache) and system (/
path/to/ruby/lib/gem/1.8/source_cache) indexes.

Then delete both of those indexes.


Eric H. - [email protected] - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!

On Jan 18, 2007, at 4:31 PM, Stephen B. wrote:

I upgraded RubyGems to 0.9.1

and had this problem

Updating installed gems…
ERROR: While executing gem … (NoMethodError)
undefined method `refresh’ for #Hash:0x1055db4

My mail delivery was messed up so I didn’t notice that there was a
previous thread on this topic.

I archived and then deleted:

/usr/local/lib/ruby/gems/1.8/source_cache
~/,gems/source_cache

and gem install is now working.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs