The ELC Community Blog
A knowledge exchange on Ruby on Rails and Agile Development
RubyGems 0.91 and the "refresh" error
by stevend on February 24, 2007
All of us over at ELCTech recently upgraded to RubyGems 0.91, only to find the following error during "gem" operations:
1 $ sudo gem install acts_as_ferret
2 ERROR: While executing gem ... (NoMethodError)
3 undefined method `refresh' for #<Hash:0x127c854>
Apparently the format of the gem cache files have changed, the new version cannot read some older versions of the cache. To fix this problem, delete your source_cache files in the following locations:
1 sudo rm /usr/local/lib/ruby/gems/1.8/source_cache
2 rm ~/.gem/source_cache
Looks like someone forgot to think about us old folks with ancient versions of RubyGems. In the future, I'll plan on running "gem update --system" more often!
Timeline
- write_inheritable_attribute.............. and friends !
- Liquid Filter Extensions
- Using and Testing Rails with Multiple Databases
- Securing your Models
- Installing RMagick properly in OSX
- RubyGems 0.91 and the "refresh" error
- ActiveRecord attribute update semantics
- Installing Webmin on Ec2
- Interactive Capistrano deploys
- Ruby on Rails on EC2
- Upgrade EC2 FC4/Base to FC5
Comments