error cleaning up my gems

Joop Verbaken [Yope]'s Avatar

Joop Verbaken [Yope]

20 Sep, 2011 10:44 PM

I am getting the following error:

I started with:

$ cd ~
~ $ git clone && cd rubygems
rubygems $ git  checkout 1.8
rubygems $ sudo ruby -Ilib bin/gem cleanup tilt --debug -V
Exception `NameError' at /Users/joopverbaken/rubygems/lib/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::CleanupCommand
Cleaning up installed gems...
Clean Up Complete

rubygems $ gem list tilt

 *\*\*\* LOCAL GEMS \*\*\*

tilt (1.3.3)
rubygems $ gem uninstall tilt
INFO:  gem "tilt" is not installed

rubygems $ gem list | cut -d" " -f1 | xargs sudo gem uninstall -aIx
INFO:  gem "actionmailer" is not installed
INFO:  gem "actionpack" is not installed
INFO:  gem "activemodel" is not installed
INFO:  gem "tilt" is not installed
INFO:  gem "treetop" is not installed
INFO:  gem "tzinfo" is not installed

so even with a fresh cloned rubygems and using sudo I can not get my LOCAL GEMS
Any suggestion?

  1. Support Staff 1 Posted by Nick Quaranto on 23 Sep, 2011 03:22 PM

    Nick Quaranto's Avatar

    Are you on debian? Can you try a ruby/RG installed with RVM?

  2. 2 Posted by Joop Verbaken on 23 Sep, 2011 08:11 PM

    Joop Verbaken's Avatar


    Thanks for your response, great to have support staff out there!

    I 'resolved' my problem, by going back to a clean setup.
    First I imploded the gems and afterwards I still had to remove the remainder of the .rvm directory.
    I am working fine now with newly installed rvm etc.

    Thanks a lot and you can close this request.


    The two steps I did were:
    $ rvm implode

    $ sudo rm -rf ~/.rvm

  3. Nick Quaranto closed this discussion on 12 Oct, 2011 02:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac