[DRE-maint] Bug#440637: gems contents <gemname> doesn't know about gems known by gem list --local

Henning Sprang henning_sprang at gmx.de
Mon Sep 3 10:48:28 UTC 2007

Package: rubygems
Version: 0.9.0

I installed rails with rubygems. Now, apart from being not happy with
the problems reported in #403407 I face another inconsistency:

When searching for the reason of rails bin not being the path befre
finding bug #403407, the gems contents command cannot find rails:

xnote:~# gem contents rails
Unable to find gem 'rails' in default gem paths

But the gem list command tells me:

xnote:~# gem list --local

*** LOCAL GEMS ***

actionmailer (1.3.3)
    Service layer for easy email delivery and testing.

actionpack (1.13.3)
    Web-flow and rendering framework putting the VC in MVC.

actionwebservice (1.2.3)
    Web service support for Action Pack.

activerecord (1.15.3)
    Implements the ActiveRecord pattern for ORM.

activesupport (1.4.2)
    Support and utility classes used by the Rails framework.

rails (1.2.3)
    Web-application framework with template engine, control-flow layer,
    and ORM.

rake (0.7.3)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation

So rails is perfectly there, and I have apps running using it.

The gems envirment (that I never changed from the installed defaults
AFAIK) shows:

xnote:~# gem environment
Rubygems Environment:
  - VERSION: 0.9.0 (0.9.0)
  - INSTALLATION DIRECTORY: /var/lib/gems/1.8
     - /var/lib/gems/1.8
     - http://gems.rubyforge.org

More information about the Pkg-ruby-extras-maintainers mailing list