From: Eric Hodel Date: 2006-06-14T11:40:09+09:00 Subject: Re: Gemspec option to prevent auto-require? On Jun 13, 2006, at 6:54 PM, Gregory Brown wrote: > On 6/13/06, Eric Hodel wrote: > >> I don't see fastercsv being required when rubygems is involved. > > Okay, maybe i'm not being super clear. The problem is it's loading > all dependencies. Well, yes, I was saying I don't see that behavior. > I'm curious though, how is this command running at all: > ruby -e "require 'ruport'; \$LOADED_FEATURES.each { |f| puts f }" > > norubygems > > It does not look like you've included the lib dir? > > e.g -Ilib > > or are you running this within lib? running within lib. > I imagine that what is happening if you are running it within lib, is > that both commands are pulling ruport from the svn code directly, not > from a gem build and installed. I tried building a gem from SVN and got the same behavior, no difference between rubygems and rubygems2. (This wouldn't make a difference, Rubygems doesn't load anything extra.) -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com