Topic: Trouble with installing Rails throu gem

When I try to install gem I get this message:

[Tue Feb 13] fredrik@cartman rubygems-0.9.2 >>sudo gem install rails
ERROR:  While executing gem ... (NoMethodError)
    undefined method `refresh' for #<Hash:0xb7b14024>

[Tue Feb 13] fredrik@cartman rubygems-0.9.2 >>ruby -v
ruby 1.8.4 (2005-12-24) [i486-linux]

I'm using Ubuntu Edgy Eft

-s-

Re: Trouble with installing Rails throu gem

I fix the problem by deleting the file

/usr/lib/ruby/gems/1.8/source_cache

Found the solution here:
http://www.nabble.com/gem-update---syst … 07328.html

-s-