From: John Higgins Date: 2011-06-29T00:58:56+09:00 Subject: [ruby-core:37638] [Ruby 1.9 - Bug #4941] cannot load such file -- rubygems.rb (LoadError) Issue #4941 has been updated by John Higgins. Unfortunately - you did not properly configure your ruby build and that was the issue - there is clearly the --disable-rubygems option in the configure file which is more than happy to turn off the requirement of RubyGems (notice the if defined?(Gem) statement prior to requiring rubygems). As to the issue of earlier versions working differently - they do not work differently - you have 1.9.2 already installed and that is what the system picked up when you built 1.9.2 earlier. 1.9.3 does not see the 1.9.2 version of rubygems.rb and therefore couldn't run with it. You did not build you ruby properly to allow you to get the experience you wanted - this is not something that requires a patch to the build system or ruby itself. ---------------------------------------- Bug #4941: cannot load such file -- rubygems.rb (LoadError) http://redmine.ruby-lang.org/issues/4941 Author: Lazaridis Ilias Status: Rejected Priority: Normal Assignee: Usaku NAKAMURA Category: core Target version: ruby -v: ruby 1.9.3dev (2011-06-28 trunk 32265) [i386-mswin32_90] =begin From within the directory of a fresh trunk checkout: $ win32\configure $ nmake $ miniruby -e"p 'hello'" #=> hello $ ruby -e"p 'hello'" :1:in `require': cannot load such file -- rubygems.rb (LoadError) from :1:in `' (the exact same procedure using branch 1.9.2 worked fine) =end -- http://redmine.ruby-lang.org