# Ruby Installation Help

**URL:** <https://www.ruby-forum.com/t/ruby-installation-help/193580>\
**Category:** Ruby\
**Created:** [August 20, 2010, 1:21am UTC](https://www.ruby-forum.com/t/ruby-installation-help/193580 "2010-08-20T01:21:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Nicar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cdc98d/32.png) [@Brian\_Nicar](https://www.ruby-forum.com/u/Brian_Nicar)\
**Post date:** [August 20, 2010, 1:21am UTC](https://www.ruby-forum.com/t/ruby-installation-help/193580/1 "2010-08-20T01:21:59Z")

</div>

In a nutshell, I compiled ruby-1.9.2 and installed it in my /home  
directory in order to isolate it from the rest of my system. Then, I  
aliased the ruby binary and scripts (~/ruby/bin) in my .bashrc to  
reflect the new installation (there is already a system-wide ruby-1.87  
installed). However, when I try to run gem or irb I receive the  
following gripe:

internal:lib/rubygems/custom\_require:29:in `require': no such file to load -- auto_gem (LoadError) from <internal:lib/rubygems/custom_require>:29:in`require’

I’m just not sure what it means. The ruby-1.92 interpreter runs fine, by  
the way.

The reason I’ve set things up the way I have is because Gentoo Linux  
does not play nice with ruby-1.9 yet. Any help is appreciated.

Brian

---

<div class="post-metadata">

**Author:** ![Brian\_Nicar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cdc98d/32.png) [@Brian\_Nicar](https://www.ruby-forum.com/u/Brian_Nicar)\
**Post date:** [August 20, 2010, 1:45am UTC](https://www.ruby-forum.com/t/ruby-installation-help/193580/2 "2010-08-20T01:45:16Z")

</div>

Naturally, after I sent out my SOS, the answer occurred to me. As it  
happens, Gentoo sets a system-wide environment variable, RUBYOPTS, that  
is not compatible or creates some sort of conflict. Sorry to  
inconvenience anyone.

Cheers!

Brian

Brian Nicar wrote:

> In a nutshell, I compiled ruby-1.9.2 and installed it in my /home  
> directory in order to isolate it from the rest of my system. Then, I  
> aliased the ruby binary and scripts (~/ruby/bin) in my .bashrc to  
> reflect the new installation (there is already a system-wide ruby-1.87  
> installed). However, when I try to run gem or irb I receive the  
> following gripe:
> 
> internal:lib/rubygems/custom\_require:29:in `require': no such file to load -- auto_gem (LoadError) from <internal:lib/rubygems/custom_require>:29:in`require’
> 
> I’m just not sure what it means. The ruby-1.92 interpreter runs fine, by  
> the way.
> 
> The reason I’ve set things up the way I have is because Gentoo Linux  
> does not play nice with ruby-1.9 yet. Any help is appreciated.
> 
> Brian
