[Rubygems-developers] [BUG?] Partial Gem Names

Mehr, Assaph (Assaph) assaph at avaya.com
Mon Jul 26 00:45:42 EDT 2004

Given a partial gem name, ruby-gems will install the last-found gem:

[/home/assaph assaph 14:39]$ sudo gem install act
Attempting local installation of 'act'
Local gem file not found: act.gem
Attempting remote installation of 'act'
Successfully installed activerecord, version 0.9.0

Using RubyGems 0.7.0. (Tested on both ruby 1.9.0 (2004-07-15)
[i686-linux] and ruby 1.8.1 (2003-12-25) [i386-mswin32]).

I would have expected to either fail, or (better) supply a list of all
possible matches (same as when doing unintall for multiple versions).

Select RubyGem to install:
 1. actionpack (0.7.5)
 2. activerecord (0.9.0)
 4. All gems


More information about the Rubygems-developers mailing list