On Dec 8, 10:19 am, Luis Lavena <luislav...@gmail.com> wrote:
> On Tue, Dec 8, 2009 at 12:17 PM, Daniel Berger <djber...@gmail.com> wrote:
> > On Tue, Dec 8, 2009 at 5:34 AM, Trans <transf...@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?

No.

If I set it to "-rubygems" of course then it works (in fact
specification.rb is already loaded then). But I would think loading
'rubygems/specification' should work without that --and I am pretty
sure it used to.
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to