Unable to use gem cleanup on ubuntu feisty

anyone else having this problem? i got the same error on two clean
installs.


it@T43:~$ ruby --version
ruby 1.8.5 (2006-08-25) [i486-linux]
it@T43:~$ rails --version
Rails 1.2.3
it@T43:~$ gem --version
0.9.3
it@T43:~$ sudo gem cleanup
Password:
ERROR: While executing gem … (RuntimeError)
Unknown command cleanup

I noticed the same thing here, on my SuSE build.

It looks like the “cleanup” option has been removed, either by choice or
accident in the latest gem release.

Phil

Well I noticed the same thing on my machine (SuSE) but not only with
‘cleanup’, also with

rubygems-0.9.3 # gem update rails --include-dependencies
Updating installed gems…
ERROR: While executing gem … (NoMethodError)
undefined method `refresh’ for #Hash:0xb795fba0

Any suggestions what goes wrong here ?

LuCa

On Sat, 2007-05-19 at 18:22 +0200, LuCa wrote:

Well I noticed the same thing on my machine (SuSE) but not only with
‘cleanup’, also with

rubygems-0.9.3 # gem update rails --include-dependencies
Updating installed gems…
ERROR: While executing gem … (NoMethodError)
undefined method `refresh’ for #Hash:0xb795fba0

Any suggestions what goes wrong here ?


clear the source_cache

locate source_cache

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

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


Craig W. [email protected]