James Edward Gray II wrote: > On Mar 13, 2007, at 2:19 PM, Martin DeMello wrote: > >> On 3/14/07, ara.t.howard / noaa.gov <ara.t.howard / noaa.gov> wrote: >>> On Wed, 14 Mar 2007, Alex Young wrote: >>> >>> > 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 >> >> I think he meant the files in the individual gem's >> lib/ruby/gems/...../gemname/lib folder, not all the files in >> lib/ruby/gems :) > > But we still don't want to do that. Some libraries provide alternate > interfaces or features based on which file you require. Oh, I realise I'm not likely to get my wish - there's too much code already out there that wouldn't work like I'm suggesting. -- Alex