views:

184

answers:

0

I installed rvm as root to setup an Ubuntu LTS 8.04 as a web hosting server for my rails apps.

rvm is installed in:

/usr/local/rvm

Everything works fine, gems installation included and users are able to use ruby and gem commands.

sudo gem install rails

My problem is that the gems EXECUTABLE DIRECTORY is not included in my PATH and thus I cannot use rails command.

Is there a way to dynamycally include gems executable directory in my PATH?

Can it be done directly through rvm?