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

Luis Lavena luislavena at gmail.com
Tue Dec 8 10:19:39 EST 2009


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.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


More information about the Rubygems-developers mailing list