# Installation of ruby on rails in in a User Directory

**URL:** <https://www.ruby-forum.com/t/installation-of-ruby-on-rails-in-in-a-user-directory/68242>\
**Category:** Rails\
**Created:** [September 11, 2006, 4:10am UTC](https://www.ruby-forum.com/t/installation-of-ruby-on-rails-in-in-a-user-directory/68242 "2006-09-11T04:10:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 11, 2006, 4:10am UTC](https://www.ruby-forum.com/t/installation-of-ruby-on-rails-in-in-a-user-directory/68242/1 "2006-09-11T04:10:00Z")

</div>

Hi everybody !

I’m giving a course abour ruby on rails at the university and we have a  
problem when installing rails on the laboratory machines. In fact, when  
we try to install rails in a user directory (after installing gems), we  
got the following error :

/u/dift6800/ruby2/gemrepository/bin/gem:9:in `require’: no such file to  
load – rubygems (LoadError) from  
/u/dift6800/ruby2/gemrepository/bin/gem:9

For the installation procedure we are following the instruction from :  
[http://docs.rubygems.org/read/chapter/3#page13](http://docs.rubygems.org/read/chapter/3#page13), and  
/u/dift6800/ruby2/gemrepository is used as a local repository for gems

Our working environment is a fedora core 4.

Do some one have any idea how to solve this problem ?

Thanks in advance,

M

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 12, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/installation-of-ruby-on-rails-in-in-a-user-directory/68242/2 "2006-09-12T21:55:55Z")

</div>

removed\_email\_address@domain.invalid wrote:

> M

Hi again !!

Finally the problem was related to an installation of rubygems not  
hooked to the current ruby installation.

Have a nice day everybody,

m
