From: Luis Lavena Date: 2011-07-02T23:07:43+09:00 Subject: [ruby-core:37740] [Ruby 1.9 - Bug #4941] cannot load such file -- rubygems.rb (LoadError) Issue #4941 has been updated by Luis Lavena. Nobuyoshi Nakada wrote: > It doesn't sound like an unreasonable limit to need to be installed before running, on many platforms, shared libraries are loaded from fixed paths. On Ruby0s wiki for committers: http://redmine.ruby-lang.org/projects/ruby/wiki/CommitterHowto * Always build Ruby outside of $(srcdir) * Always build Ruby inside of $(srcdir) too, using ./configure. In neither of both cases ruby is usable straight away without playing with RUBYLIB to ensure the proper paths are used. This is noticed when you need to load any extension or library that is part of stdlib. That never worked since I remember. That is one of the reasons I personally install before doing manual testing on the produced Ruby. ---------------------------------------- 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