Issue #4941 has been updated by nobu (Nobuyoshi Nakada).


It's very common for applications which make shared libraries.
----------------------------------------
Bug #4941: cannot load such file -- rubygems.rb (LoadError)
https://bugs.ruby-lang.org/issues/4941#change-28987

Author: lazaridis.com (Lazaridis Ilias)
Status: Rejected
Priority: Normal
Assignee: usa (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'"

 <internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
        from <internal:gem_prelude>:1:in `<compiled>'

(the exact same procedure using branch 1.9.2 worked fine)
=end



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