Bugs item #27346, was opened at 2009-10-25 16:55
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27346&group_id=126

Category: `gem` commands (other)
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Martin Häcker (dwt)
Assigned to: Nobody (None)
Summary: gem cleanup fails on system wide installed gems with non informative 
error message

Initial Comment:
Hi there,

I use gem to install stuff in my home directory and today found out that gem 
cleanup could get me rid of quite a part of old gems.

This however didn't work, as those are installed system wide and I of course 
don't start gem with root privileges as I totally want it to install only in my 
home directory.

The error message didn't mention this rights problem and the installed path at 
all, so I had to search very long till I found out why this failed.

So, please improve the error message, make it state that rights are missing and 
on what file they are missing.

Regards,
Martin

% gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.1
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
  - INSTALLATION DIRECTORY: /Users/dwt/Library/Ruby/Gems/1.8
  - RUBY EXECUTABLE: 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/dwt/Library/Ruby/Gems/1.8/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - universal-darwin-10
  - GEM PATHS:
     - /Users/dwt/Library/Ruby/Gems/1.8
     - 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
     - /Library/Ruby/Gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gempath" => ["/Users/dwt/Library/Ruby/Gems/1.8", 
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8", 
"/Library/Ruby/Gems/1.8"]
     - "gemhome" => "/Users/dwt/Library/Ruby/Gems/1.8"
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27346&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to