Where is rails? (debian 5.0.3)

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

On Wed, Oct 28, 2009 at 4:31 PM, Bruno S.
[email protected] 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 ~

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 :frowning:

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.
[email protected] 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 ~