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

Gavin Sinclair gsinclair at soyabean.com.au
Thu Sep 9 09:26:36 EDT 2004

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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dev-utils-0.0.1.gem
Type: application/octet-stream
Size: 22528 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rubygems-developers/attachments/20040909/9768d7e9/dev-utils-0.0.1-0001.obj

More information about the Rubygems-developers mailing list