Can you post the errors? And the output of 'gem env'?
Absolutely, should have done this from the beginning...
michaelguterl@macbook ~$ sudo gem cleanup
Password:
Cleaning up installed gems...
Attempting to uninstall highline-1.2.9
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem highline = 1.2.9
michaelguterl@macbook ~$ sudo gem install highline --version '= 1.2.9'
Successfully installed highline-1.2.9
1 gem installed
Installing ri documentation for highline-1.2.9...
Installing RDoc documentation for highline-1.2.9...
michaelguterl@macbook ~$ sudo gem cleanup
Cleaning up installed gems...
Attempting to uninstall highline-1.2.9
Successfully uninstalled highline-1.2.9
Attempting to uninstall net-ssh-1.1.2
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem net-ssh = 1.1.2
These gems were removed during the original cleanup run and it goes on
and on for each gem that was removed during the initial cleanup. Also
the .gem files still reside in /Library/Ruby/Gems/1.8/cache for the
gems that were removed during the initial `gem cleanup` which I
accidentally canceled. I assume this is why they are attempting to
still be cleaned up, I just did not know if there was an easy
workaround.
Could this be a bug? I would think these .gem files should be removed
after uninstalling...
michaelguterl@macbook ~$ sudo gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-9
- GEM PATHS:
- /Library/Ruby/Gems/1.8
- /Users/michaelguterl/.gem/ruby/1.8
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["
http://gems.rubyforge.org/", "
http://gems.github.com/"]
- REMOTE SOURCES:
-
http://gems.rubyforge.org/
-
http://gems.github.com/
Regards,
Michael Guterl