[Rubygems-developers] Release 0.8.0? (Was: Rubygems update script updated on rubyforge)

Chad Fowler chad at chadfowler.com
Thu Sep 9 20:07:52 EDT 2004


On Sep 9, 2004, at 9:26 AM, Gavin Sinclair 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?


I think i've just fixed it locally.  Testing a little more before 
checkin.

Chad



More information about the Rubygems-developers mailing list