Bugs: Browse | Submit New | Admin

[#16937] downcase gem name: can install RedCloth but not redcloth

Date:
2008-01-09 00:09
Priority:
3
Submitted By:
Suraj Kurapati (snk)
Assigned To:
Eric Hodel (drbrain)
Category:
`gem install` command
State:
Closed
Summary:
downcase gem name: can install RedCloth but not redcloth

Detailed description
`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.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2010-11-23 19:56
Sender: Luis Lavena

There has been proposal to suggest gem names, please see this:

http://rubyforge.org/pipermail/rubygems-developers/2010-September
/005532.html

Also see this:

http://blog.segment7.net/articles/2010/11/15/how-to-name-gems

Patches are welcome.

Closing this as is not a bug. RedCloth is not the same as redcloth
or anything like that.
Date: 2010-11-23 19:47
Sender: Suraj Kurapati

So... is this bug ever going to be fixed?  It's been more
than 2 years since I originally filed it. :-(
Date: 2008-06-02 22:57
Sender: Eric Hodel

Please do not add comments to a bug that are orthogonal to the
topic.
Date: 2008-06-02 22:42
Sender: Eric Hodel

Please do not add comments to a bug that are orthogonal to the
topic.
Date: 2008-04-15 04:12
Sender: Jason Garber

Sorry, I cross-posted.  See
http://rubyforge.org/tracker/index.php?func=detail&aid=19525&
amp;group_id=126&atid=575
Date: 2008-04-15 03:24
Sender: Suraj Kurapati

Re-opening bug so that our comments are heard.
Date: 2008-04-14 21:28
Sender: Jason Garber

+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]"
Date: 2008-02-21 07:18
Sender: Suraj Kurapati

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*!
Date: 2008-02-20 19:42
Sender: Eric Hodel

Use `gem list` to get the correct capitalization.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
close_date2010-11-23 19:562010-11-23 19:56luislavena
close_date2010-11-23 19:472010-11-23 19:47snk
close_date2008-06-02 22:572008-06-02 22:57drbrain
status_idOpen2008-06-02 22:42drbrain
close_date2008-06-02 22:422008-06-02 22:42drbrain
status_idClosed2008-04-15 03:24snk
close_date2008-02-21 07:182008-02-21 07:18snk
status_idOpen2008-02-20 19:42drbrain
close_date2008-02-20 19:422008-02-20 19:42drbrain
assigned_tonone2008-02-20 19:42drbrain
resolution_idNone2008-02-20 19:42drbrain