Unable to use gem cleanup on ubuntu feisty

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


[email protected]:~$ ruby --version
ruby 1.8.5 (2006-08-25) [i486-linux]
[email protected]:~$ rails --version
Rails 1.2.3
[email protected]:~$ gem --version
0.9.3
[email protected]:~$ 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]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs