Rails 1.22, RubyGems 0.9.1 fix
Saturday, February 24, 2007 • posted by Michael Rothwell @ 10:03 PM
The problem: RubyGems seems to be broken after updating to 0.9.1.
$ sudo gem update
Updating installed gems...
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #
The fix: Remove the source cache.
$ sudo rm /usr/local/lib/ruby/gems/1.8/source_cache