2009/7/13 Lin Jen-Shin <redmine / ruby-lang.org>:
> $ gem which rack
> (checking gem rack-1.0.0 for rack)
> /home/photos/.gem/ruby/1.9.1/gems/rack-1.0.0/lib/rack.rb
>
> $ ruby -ve 'gem "rack"'
> ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]
> <internal:gem_prelude>:234:in `push_gem_version_on_load_path': Could not =
find RubyGem rack (>=3D 0) (Gem::LoadError)
> =A0 =A0 =A0 =A0from <internal:gem_prelude>:14:in `gem'
> =A0 =A0 =A0 =A0from -e:1:in `<main>'

This is a bug of gem_prelude.rb. This will be fixed the next patch
level release of Ruby 1.9.1.
Now I'm trying releasing it within a week.

But the fixed version of gem_prelude works fine for only the default
path to user gem, i.e. ~user/.gem/ruby/1.9.1/
This lightweight version of gem loading mechanism does not have way to
reflect gemrc.
This is because gemrc is a YAML and YAML parser is too large to load
at Ruby starting. Do you have any idea?

-- Yuki Sonoda (Yugui)