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

**URL:** <https://www.ruby-forum.com/t/usr-bin-gemin-require-no-such-file-to-load/49630>\
**Category:** Ruby\
**Created:** [November 23, 2005, 2:18am UTC](https://www.ruby-forum.com/t/usr-bin-gemin-require-no-such-file-to-load/49630 "2005-11-23T02:18:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nospam2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/a587f6/32.png) [@nospam2](https://www.ruby-forum.com/u/nospam2)\
**Post date:** [November 23, 2005, 2:18am UTC](https://www.ruby-forum.com/t/usr-bin-gemin-require-no-such-file-to-load/49630/1 "2005-11-23T02:18:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nospam2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/a587f6/32.png) [@nospam2](https://www.ruby-forum.com/u/nospam2)\
**Post date:** [November 23, 2005, 9:04am UTC](https://www.ruby-forum.com/t/usr-bin-gemin-require-no-such-file-to-load/49630/2 "2005-11-23T09:04:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nospam2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/a587f6/32.png) [@nospam2](https://www.ruby-forum.com/u/nospam2)\
**Post date:** [November 23, 2005, 4:46pm UTC](https://www.ruby-forum.com/t/usr-bin-gemin-require-no-such-file-to-load/49630/3 "2005-11-23T16:46:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nospam2](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/a587f6/32.png) [@nospam2](https://www.ruby-forum.com/u/nospam2)\
**Post date:** [November 23, 2005, 6:55pm UTC](https://www.ruby-forum.com/t/usr-bin-gemin-require-no-such-file-to-load/49630/4 "2005-11-23T18:55:42Z")

</div>

On 11/23/05, Lars B. [removed\_email\_address@domain.invalid](mailto: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
