
Ruby 1.9.0 - no such file to load — ubygems (LoadError)
May 15, 2007Remember the old days when I ran Ruby 1.8.2 only, I got similar message from Ruby 1.9.0 (ruby-1.9.0-20060415-i386-mswin32.zip)
"C:\Ruby1.9\bin>irb C:\Ruby1.9\bin\ruby: no such file to load -- ubygems (LoadError) C:\Ruby1.9\bin>"
This the result from the last installation from Ruby 1.8.6, since the Distribution for Ruby 1.9.0 Does not include rubygems, so you must remove the Environment Variables that Ruby will lookup for the options.
RUBYOPT = -rubygems



Hi there - i just started having this issue - i tried your suggestion but now i get this error -
sh: /cygdrive/c/cygwin/bin/irb: /usr/bin/ruby: bad interpreter: No such file or directory
i don’t suppose you know what the problem is do you?
thanks
max