gem install ruby 0> doesn't install Ruby but says it does

Hello,

I'm trying to set up a complete RoR with PostgreSQL and nginx plus mongrel_cluster on Lenny.

I'll have all installed, except Ruby ...

$ gem install rails 1 gem installed

$ ruby --version command not found

And I have the rails gem installed ....

Any idea why I can't use Rails ???

thanks!

r.

Apparently rubygems and ruby packages installed via apt-get occasionally do weird, often slightly broken, things (like the inability to do rails --version)

Fred

Hello Guys,

It seems to need export path of ruby, rubygems Library. This is just Example How to export Path:

Yes, There is relation between that. Please do only: export GEM_HOME=/usr/local/lib/ruby/gems/1.8

and try again, so that will export another path's.

Thanks- Shrii

Or, Refer

ok, thanks ...

I'm going to re-install again Leny and start again ...

:slight_smile:

regards,

r.