Issue #2717 has been updated by Eric Hodel.


I'm not sure what to do about this yet.

gem_prelude.rb provides a fake rubygems.rb, but require 'rubygems/specification' does not cause the real rubygems.rb to be loaded.

This causes the errors.

The workaround is to assume that Gem::Specification is available, because require 'rubygems' provides it instead of requiring 'rubygem/specification'.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2717

----------------------------------------
http://redmine.ruby-lang.org