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

Category: `gem install` command
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Add the "--as=" option: allow users to select gem name on install

Initial Comment:
Hi,

With the growing popularity of github and forks of available gems, I think 
giving the end users the ability to select the gem name at the moment of 
installation would be very useful.

Consider a situation where there's a 'foo' gem, but there is also a fork of 
'foo' on github called 'alpha-foo'. You, the end user, have some code that 
calls "require 'foo'". You realize one day that you want to use 'alpha-foo' 
instead of 'foo' because the original 'foo' is no longer maintained and the 
github fork has some critical patches.

But, you really don't want to have to go through all your code and change all 
the possible require lines. Giving the user the ability to install the gem by a 
different name would solve that problem:

gem install alpha-foo --as=foo

What do you think?

Regards,

Dan

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

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