Feature Requests item #27457, was opened at 2009-11-19 03:07
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=578&aid=27457&group_id=126

Category: `gem install` command
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Greg Hazel (ghazel)
Assigned to: Nobody (None)
Summary: more specific error message when a gem fails to install

Initial Comment:
Currently, gem reports errors like this:

C:\gem install eventmachine --source http://gemcutter.org
ERROR:  could not find gem eventmachine locally or in a repository

even if the real error is that the source failed, but the gem does exist:

GET 500 Internal Server Error: 
http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-mswin32.gemspec.rz

More details here:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27455&group_id=126


Instead, simply displaying the error message:

ERROR:  bad response Internal Server Error 500 
(http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-mswin32.gemspec.rz)

would be more helpful. Even something as terse as:

ERROR:  bad response Internal Server Error 500
or
ERROR:  bad response Internal Server Error 500 (http://gemcutter.org)

serves to indicate the error is with a remote server, not that the gem is not 
found.




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

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=578&aid=27457&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