On 9 December 2011 20:58, Tim
<timdholmes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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?
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
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.