Choose Ruby Version on Startup

Hi,

I am wondering if it is possible to change the ruby version that rails
is using on startup and not use the version that is set in the PATH of
the application. For example say the server has the path set to "/
ruby1" and I want to use "/ruby2" can I set that in the rails
application itself instead of in using only what the path is set to?

Thanks in advance for any help!

If you use rvm (http://beginrescueend.com/) then you can choose which
version of rails you wish to use. You cannot actually set it inside
the app as by the time you get into the app you are already using
ruby, so it is a bit late. With rvm though you can choose before you
start it.

Colin