Forum: Ruby on Rails Help! RubyGems is broken!

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
311d8ff0daa7884a01e7f701ec3630d0?d=identicon&s=25 explainer (Guest)
on 2009-03-18 20:36
(Received via mailing list)
I have a problem with RubyGems:

ruby gt.rb
ruby: no such file to load -- ubygems (LoadError)

Here are my compiler and gem versions:

ruby --version
  ruby 1.8.7p5000 (2009-03-03 revision 22728) [x86_64-linux] <<built
from stable source download>>

gem --version
  1.3.1  <<download of source tar.gz file from RubyForge>>

When I built rubygems, I saw a reference to 'ubygems', but it looked
like a typo.

The source program has a "require 'rubygems' " line, and my profile
file has a "RUBYOPT=rubygems" environment variable set.

I am at a loss to determine what is causing this.
Ad97d898eefbb44ba50c07ee8554781b?d=identicon&s=25 Richard Mcintyre (mackstar)
on 2009-03-19 05:59
(Received via mailing list)
Could you not try re-installing ruby gems??

Cheers

Richard
6ef8cb7cd7cd58077f0b57e4fa49a969?d=identicon&s=25 Brian Hogan (Guest)
on 2009-03-19 06:02
(Received via mailing list)
remove the rubyopt thing from your profile. I have seen that cause
this exact error on many systems.
Of course, restart your terminal session after changing your profile. :)
This topic is locked and can not be replied to.