From: Mark Hubbart Date: 2005-05-12T09:03:42+09:00 Subject: Re: Ruby: No such file to load -- ubygems (LoadError) On 5/11/05, Brian Takita wrote: > Hello, > > I am running the one-click ruby verion 1.8.2-15 on Windows XP. > > When I try to run a ruby script, I get this error, Ruby: No such file > to load -- ubygems (LoadError). > > I tried removing the RUBYOPT System variable, but I can't load any > scripts. > > Ruby was working yesterday. The only thing I can think of that may > have mucked things up would be to run a $:.unshift() call in one of my > scripts yesterday. > > Does anybody know what is going on and how I can solve this? install RubyGems :) http://rubygems.rubforge.org But seriously, it's probably due to the RUBYOPT environment variable being set. Since unsetting it broke your scripts, there may be something else set in it as well. If so, try removing just the "rubygems" part of the variable's content. But still, installing RubyGems will solve the problem, and give you access to some very nifty software and libraries to boot. cheers, Mark