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

Daniel Berger djberg96 at gmail.com
Tue Dec 8 12:07:41 EST 2009

Luis Lavena wrote:
> On Tue, Dec 8, 2009 at 12:17 PM, Daniel Berger <djberg96 at gmail.com> wrote:
>> On Tue, Dec 8, 2009 at 5: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
>> I can require it just fine with Ruby 1.8.7 and Rubygems 1.3.5.
> By chance do you have RUBYOPT set?
> In my case I can't get it work with none of the 1.8.x lineup.

Yeah, I have it set.

I dunno, though. Is it really meant to be required individually like 
that? I guess I'm not convinced it's a real issue yet.



More information about the Rubygems-developers mailing list