Saturday, April 28, 2007

Ruby: No such file to load -- ubygems (LoadError)

I deleted the contents of directory site_ruby and I was getting that error message. After some googling found Rich Kilmer's reply

"You have installed rubygems and set the RUBYOPT variable. This is the
downside to using the RUBYOPT :-(

Just unset that variable and then you should be good to go."


Thanks Rich, that fixed my problem.

1 comment:

  1. Thanks a lot.... I was wondering whats the problem..... and there were no pointers elsewhere regarding this....

    on windows just do
    `set RUBYOPT=`

    and good to go...

    does anyone have any prejudice or intuition regarding using extract folder installs and installation using setup files...