error cleaning up my gems
I am getting the following error:
I started with:
$ cd ~ ~ $ git clone http://github.com/rubygems/rubygems/ && 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?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Nick Quaranto on 23 Sep, 2011 03:22 PM
Are you on debian? Can you try a ruby/RG installed with RVM?
http://beginrescueend.com/
3 Posted by Joop Verbaken on 23 Sep, 2011 08:11 PM
Hello,
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.
Joop
The two steps I did were:
$ rvm implode
$ sudo rm -rf ~/.rvm
Nick Quaranto closed this discussion on 12 Oct, 2011 02:00 PM.