[Rubygems-developers] Release 0.8.0? (Was: Rubygems update
script updated on rubyforge)
Richard Kilmer
rich at infoether.com
Thu Sep 9 10:52:27 EDT 2004
Try and CVS up...I found a big bug in the loadpath manager. Let me know if
it fixes it.
-rich
On 9/9/04 9:26 AM, "Gavin Sinclair" <gsinclair at soyabean.com.au> wrote:
> On Thursday, September 9, 2004, 9:28:00 AM, Gavin wrote:
>
>> I've had issues with 'require' recently -- obviously a loadpath
>> manager issue, hopefully transient -- so I'll try to sort that out
>> today if it's still a problem.
>
> Here it is.
>
> irb(main):002:0> require 'dev-utils/debug'
> NameError: (eval):14:in `build_paths': uninitialized constant
> Gem::LoadPathManager::Gem::Version
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:49:in
> `build_paths'
> from (eval):1:in `initialize'
> from (eval):1:in `new'
> from (eval):1:in `build_paths'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:49:in `eval'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:49:in
> `build_paths'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:49:in `collect'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:49:in
> `build_paths'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:48:in `each'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:48:in
> `build_paths'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:62:in
> `search_gempath'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:4:in `require'
> from (irb):2
>
> I can't look into it right now. The gem is attached if anyone wants
> to debug (it ain't being released until 0.8 is out).
>
> I don't see at first glance why a certain gem should cause this kind
> of problem.
>
> Also this:
>
> irb(main):003:0> require 'diff/lcs'
> LoadError: No such file to load -- diff/lcs
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
> `require__'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
> from (irb):3
>
> That's despite having the 'diff-lcs' gem installed. Am I
> misunderstanding how the new "require" is supposed to work?
>
> Cheers,
> Gavin
> _______________________________________________
> Rubygems-developers mailing list
> Rubygems-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubygems-developers
More information about the Rubygems-developers
mailing list