Developing in different versions of rails at the same time?

Hi,
I was wondering if some of you have had to keep more than one version of
Rails on your machine at a time? If you have more than one customer,
they may have different requirements. You might need to work on a
pre-existing app that is not scheduled to be moved to a newer version of
Rails right now. How is the best way to deal with this?

thanks,
jp

I have no experience with that kind of situation but maybe you’ll want
to
setup a VServer solution if you are on Linux.

http://linux-vserver.org/

regards!

Guillaume C.

Guillaume C. wrote:

I have no experience with that kind of situation but maybe you’ll want
to
setup a VServer solution if you are on Linux.

http://linux-vserver.org/

regards!

Guillaume C.

Thanks Guillaume,
Should have mentioned obviously the OS. I’m on OSX.

thanks,
jp

On 8/16/06, Jeff P. [email protected] wrote:

Hi,
I was wondering if some of you have had to keep more than one version of
Rails on your machine at a time? If you have more than one customer,
they may have different requirements. You might need to work on a
pre-existing app that is not scheduled to be moved to a newer version of
Rails right now. How is the best way to deal with this?

thanks,
jp

Freeze the app to the version of rails it’s developed for. There are
two good tasks:

rake rails:freeze:gems
rake rails:freeze:edge

Also you can freeze based on release tags, edge rails, or the stable
branch:

http://dev.rubyonrails.org/svn/rails/tags/
http://dev.rubyonrails.org/svn/rails/trunk/
http://dev.rubyonrails.org/svn/rails/branches/stable/

svn co http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-6/ vendor/rails


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs