Mark Hubbart
5/12/2005 4:25:00 PM
On 5/12/05, Brian Takita <brian.takita@gmail.com> wrote:
> I tried performing the command "gem install rubygems"
> It was performed successfully, however whenever I tried running a ruby
> script, I still get the error "ruby: No such file to load -- ubygems
> (LoadError)". I still need to try installing rubygems via the tar.gz
> file.
>
> What is interesting is irb, erb, and gem, which all use ruby.exe work
> without the error. I can also load gems.
Unset RUBYOPT, then go into irb and inspect ruby's load path ($:).
Look in those directories for a directory "rubygems" and files
"rubygems.rb" and "ubygems.rb". If you can't find them, your RubyGems
installation is currupt; try downloading it from their website and
installing.
cheers,
Mark