On 5/11/05, Brian Takita <> wrote:
> Hello,
>=20
> I am running the one-click ruby verion 1.8.2-15 on Windows XP.
>=20
> When I try to run a ruby script, I get this error, Ruby: No such file
> to load -- ubygems (LoadError).
>=20
> I tried removing the RUBYOPT System variable, but I can't load any
> scripts.
>=20
> 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.
>=20
> Does anybody know what is going on and how I can solve this?=20
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