undefined method `refresh' after rubygem 0.9.1 upgrade

S

Stephen Bannasch

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?
 
E

Eric Hodel

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?

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.
 
S

Stephen Bannasch

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,112
Latest member
BrentonMcc
Top