[Rubygems-developers] Can't require 'rubygems/specification' anymore?
drbrain at segment7.net
Wed Dec 9 03:06:42 EST 2009
On Dec 8, 2009, at 05:34, Trans 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
> from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:7
> from (irb):1:in `require'
> from (irb):1
You need to require 'rubygems' first.
PS: No, require 'rubygems' won't be added to rubygems/specification.
It leads to circular require warnings in 1.9.
More information about the Rubygems-developers