[Rubygems-developers] Can't require 'rubygems/specification' anymore?

Ryan Davis ryand-ruby at zenspider.com
Tue Dec 8 16:10:31 EST 2009

On Dec 8, 2009, at 08:52 , Chad Woolley wrote:

> On Tue, Dec 8, 2009 at 6:34 AM, Trans <transfire at gmail.com> wrote:
>>  require 'rubygems/specification'
>>  NameError: uninitialized constant Gem
>>      from /usr/local/lib/site_ruby/1.8/rubygems/version.rb:28
>>      from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:7:in
>> `require'
>>      from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:7
>>      from (irb):1:in `require'
>>      from (irb):1
> Maybe related to this this general bug (old files not deleted on
> upgrade)?  I didn't investigate, just an idea:
> http://rubyforge.org/tracker/index.php?func=detail&aid=26740&group_id=126&atid=575

*sigh* like a broken record...

No, that wouldn't cause "NameError: uninitialized constant Gem". This is a simple matter of dependencies not being met.

More information about the Rubygems-developers mailing list