From: Erik Veenstra Date: 2008-08-07T20:21:02+09:00 Subject: Re: About circular dependencies in RubyGems (the library). And about the order in $". > Can you file a bug for me in the rubygems tracker? Done. gegroet, Erik V. On 8/7/08, Eric Hodel wrote: > On Aug 1, 2008, at 06:54 AM, Erik Veenstra wrote: >> There's a circular dependency in RubyGems. I mean in the >> library itself, not in the collection of gems. >> >> Try this: >> >> $ RUBYOPT= ruby -e 'require "rubygems/exceptions"' >> /usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:19: >> uninitialized constant Gem::Exception (NameError) > > Yes, I could merge rubygems/exception.rb back into the appropriate > places, but got lazy during my refactor. Can you file a bug for me in > the rubygems tracker? > >> [...] >> >> Question: Is it possible to investigate the exact order in which >> libraries are required correctly? Obviously $" won't work. We >> can't wrap Kernel#require either, since you'll miss the >> libraries which are required on the command line or in $RUBYOPT. >> >> Any ideas/suggestions/comments? > > I'm not sure what a good general solution to this problem is. > > >