# Where is rails? (debian 5.0.3)

**URL:** <https://www.ruby-forum.com/t/where-is-rails-debian-5-0-3/178055>\
**Category:** Rails\
**Created:** [October 28, 2009, 4:31pm UTC](https://www.ruby-forum.com/t/where-is-rails-debian-5-0-3/178055 "2009-10-28T16:31:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@steux](https://www.ruby-forum.com/u/steux)\
**Post date:** [October 28, 2009, 4:31pm UTC](https://www.ruby-forum.com/t/where-is-rails-debian-5-0-3/178055/1 "2009-10-28T16:31:47Z")

</div>

I’m using Debian 5.0.3 .  
Installed ruby1.8 + rubygems1.8 through aptitude.  
Then executed gem install rails, no error messages.  
But rails executable isn’t there. What is happenning?

regards

---

<div class="post-metadata">

**Author:** ![steux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@steux](https://www.ruby-forum.com/u/steux)\
**Post date:** [October 28, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/where-is-rails-debian-5-0-3/178055/2 "2009-10-28T17:24:55Z")

</div>

On Wed, Oct 28, 2009 at 4:31 PM, Bruno S.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’m using Debian 5.0.3 .  
> Installed ruby1.8 + rubygems1.8 through aptitude.  
> Then executed gem install rails, no error messages.  
> But rails executable isn’t there. What is happenning?

Debian wont add the gems executables on the path. The file should be  
on /var/lib/gems/1.8/bin/ or within the gem directory itself  
/var/lib/gems/1.8/gems/rails-x.x.x/bin.  
You should add the directory to your path or create a symlink to  
somewhere on your path.

Hope it helps.  
Cheers.

–  
Leonardo M…  
There’s no place like ~

---

<div class="post-metadata">

**Author:** ![steux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@steux](https://www.ruby-forum.com/u/steux)\
**Post date:** [October 28, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/where-is-rails-debian-5-0-3/178055/3 "2009-10-28T17:34:31Z")

</div>

These ruby scripts differs from each other:  
/var/lib/gems/1.8/bin/rails  
/var/lib/gems/1.8/gems/rails-2.3.4/bin/rails

Don’t know why ☹

The first one gives me an error asking to install a gem. I installed  
fcgi, mongrel and i am still installing. I’m wondering why these were  
not installed by gem when I executed ‘gem install rails’.

The second one reports me the attached error image.

Leonardo M. wrote:

> On Wed, Oct 28, 2009 at 4:31 PM, Bruno S.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > I’m using Debian 5.0.3 .  
> > Installed ruby1.8 + rubygems1.8 through aptitude.  
> > Then executed gem install rails, no error messages.  
> > But rails executable isn’t there. What is happenning?
> 
> Debian wont add the gems executables on the path. The file should be  
> on /var/lib/gems/1.8/bin/ or within the gem directory itself  
> /var/lib/gems/1.8/gems/rails-x.x.x/bin.  
> You should add the directory to your path or create a symlink to  
> somewhere on your path.
> 
> Hope it helps.  
> Cheers.
> 
> –  
> Leonardo M…  
> There’s no place like ~
