rubygems/rubygems — Issue #208: List command for multiple installs of a gem
Author: bkabrda
Created: 2011-11-02 08:03:56+00:00
State: open

Hi,
I think that the list command misbehaves when I have the same gem installed in multiple directories in GEM_PATHS.

Example:
$ gem env
...
- GEM PATHS:
- /home/bkabrda/.gem/ruby/1.9.1
- /usr/local/share/rubygems/gems
- /usr/share/rubygems/gems
...

I install a gem (for example tzinfo) to the first and second directories, then gem list command behaves like this:

$ gem list tzinfo

*** LOCAL GEMS ***

tzinfo (0.3.30 ruby)

I believe, that this is not an expected behaviour and it should output either tzinfo (0.3.30, 0.3.30) or just tzinfo (0.3.30).