On Wed, 14 Mar 2007, Alex Young wrote:

> Martin DeMello wrote:
>> Finally gotten around to changing my 'require_gem' code, and I've
>> noticed that for many gems, the name of the file to "require" is not
>> the same as the gem's name. Furthermore, there's no way to find out
>> what file I *do* need to require other than looking at the directory
>> structure of the gem. An option to gem that would list all requirable
>> files would be a nice addition.

> Personally, I'd prefer that a require 'gemname' just loaded all files in the 
> gem's lib directory, but that's probably just me...

yikes!  i've got about 80 libs installed!

considering that rails, for instance, takes about 1/2 second to load it's libs,
we could be looking at __tens__ of seconds of startup delay for every ruby
script on a large system


-a
-- 
be kind whenever possible... it is always possible.
- the dalai lama