Forum: Ruby /usr/bin/gem:3:in `require': no such file to load

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.
nospam2 (Guest)
on 2005-11-23 03:18
(Received via mailing list)
Ok, I removed Ruby 1.8-2 and installed Ruby 1.8-3 from source
(./configure, make, make install). Everything seemed to be fine until I
tried to start gem that I previously installed. Now gem tells me:

/usr/bin/gem:3:in `require': no such file to load

If I try to run Rails, I get the same error.

What am I missing here??? If I install standardly from source, shouldn't
I get all the lib required?

Please advice on this, I am kind of stuck. O_o
Paul M. (Guest)
on 2005-11-23 10:04
(Received via mailing list)
I would do a reinstall of gems if I was you.

do a #ruby setup.rb or ruby install.rb, in rubygems directory.

then do gem update & hope for the best.
Lars.Broecker (Guest)
on 2005-11-23 17:46
(Received via mailing list)
Tony wrote:

>
> Please advice on this, I am kind of stuck. O_o


I have a problem that may be related to yours. I do not know which
version of rubygems you use, but in my case, the combination of ruby
1.8.3 and rubygems 0.8.11 does not work, ie gives the error message that
you got. My solution/work-around was downgrading rubygems to 0.8.10.
Everything just started to work again after that. You might want to give
it a try.
acangiano (Guest)
on 2005-11-23 19:55
(Received via mailing list)
On 11/23/05, Lars B. <removed_email_address@domain.invalid> wrote:
> you got. My solution/work-around was downgrading rubygems to 0.8.10.
> Everything just started to work again after that. You might want to give
> it a try.


Guys, I had the same error message when I updated to Ruby 1.8.3.
Reinstalling gem has resolved the issue.

HTH
Antonio
This topic is locked and can not be replied to.