From: Eric Hodel Date: 2011-06-29T02:46:13+09:00 Subject: [ruby-core:37640] [Ruby 1.9 - Bug #4941] cannot load such file -- rubygems.rb (LoadError) Issue #4941 has been updated by Eric Hodel. This patch does not pick up the proper rbconfig.rb nor compiled executables like zlib, socket or openssl. Look at how the Makefile uses miniruby for correct usage. Running tests: ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- \ "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext --" Building ri data: ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- \ "./bin/rdoc" --encoding=UTF-8 --no-force-update --all --ri --op ".ext/rdoc" "." Installing ruby: ./miniruby -I./lib -I. -I.ext/common ./tool/rbinstall.rb \ --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" \ --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --install=all --rdoc-output=".ext/rdoc" ---------------------------------------- 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