From: Eric Hodel Date: 2007-11-12T13:48:36+09:00 Subject: Re: RubyGems imported into 1.9 trunk On Nov 10, 2007, at 15:44 , David Flanagan wrote: > For those of us who haven't been following the discussion, could > you explain how RubyGems works in 1.9? > > Are you saying that the gem command itself is bundled with ruby > just as irb, ri and rdoc are? Yes. > Will installed gems be found if we don't do a 'require gem'? Installed gems can be loaded without require 'rubygems' first. > I know there was a discussion of having some kind of small gem- > aware loader with a smaller footprint than the real thing. Did > this happen? Yes. The paths of the latest installed gem versions will be added to the load path on ruby startup. > Does it support version numbers? No. You'll use Kernel#gem to specify explicit versions as always. > Or do we just 'require gem' first as we've always done? From the user's perspective, it should appear to operate the same as RubyGems with ruby 1.8. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars