[Rubygems-developers] [ rubygems-Bugs-16937 ] downcase gem name: can install RedCloth but not redcloth
noreply at rubyforge.org
noreply at rubyforge.org
Tue Nov 23 14:47:23 EST 2010
Bugs item #16937, was opened at 2008-01-08 16:09
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=16937&group_id=126
Category: `gem install` command
Group: v1.0.x
Status: Closed
Resolution: Rejected
Priority: 3
Submitted By: Suraj Kurapati (snk)
Assigned to: Eric Hodel (drbrain)
Summary: downcase gem name: can install RedCloth but not redcloth
Initial Comment:
`gem install` should accept lower-case gem names. I am using Rubygems 1.0.1.
I couldn't figure out why 'gem install redcloth' kept saying there was no such gem available, but I tried camel case (RedCloth) and it worked. How is anybody expected to know the correct capitalization of a gem name?
Thanks for your consideration.
----------------------------------------------------------------------
>Comment By: Suraj Kurapati (snk)
Date: 2010-11-23 11:47
Message:
So... is this bug ever going to be fixed? It's been more
than 2 years since I originally filed it. :-(
----------------------------------------------------------------------
Comment By: Eric Hodel (drbrain)
Date: 2008-06-02 15:57
Message:
Please do not add comments to a bug that are orthogonal to the topic.
----------------------------------------------------------------------
Comment By: Eric Hodel (drbrain)
Date: 2008-06-02 15:42
Message:
Please do not add comments to a bug that are orthogonal to the topic.
----------------------------------------------------------------------
Comment By: Jason Garber (jgarber)
Date: 2008-04-14 21:12
Message:
Sorry, I cross-posted. See http://rubyforge.org/tracker/index.php?func=detail&aid=19525&group_id=126&atid=575
----------------------------------------------------------------------
Comment By: Suraj Kurapati (snk)
Date: 2008-04-14 20:24
Message:
Re-opening bug so that our comments are heard.
----------------------------------------------------------------------
Comment By: Jason Garber (jgarber)
Date: 2008-04-14 14:28
Message:
+1
gem install RedCloth (or RubyInline, AsteriskRuby, DeliciousRuby, RedGreen, Ruby4Skype, etc) trips so many people up
At the very least, you could say, "gem redcloth not found. Did you mean RedCloth? [y]"
----------------------------------------------------------------------
Comment By: Suraj Kurapati (snk)
Date: 2008-02-20 23:18
Message:
I request reconsideration!
This supposed case-sensitivity "feature" is a hindrance to
usability. All you need to do is add a simple downcase()
call to the user's input... it's not a monumental effort!
Furthermore, this "feature" allows impostors to create bogus
projects with the same name as, say, RedCloth in many
case-sensitive variations. Fast forward and you get the
same abysmal situation we have with domain squatters today
on the Internet.
Please reconsider! The user interface should be simple and
*forgiving*!
----------------------------------------------------------------------
Comment By: Eric Hodel (drbrain)
Date: 2008-02-20 11:42
Message:
Use `gem list` to get the correct capitalization.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=16937&group_id=126
More information about the Rubygems-developers
mailing list