[Rails] multiple 'instances' of the same rails app

Tobias Luetke tobias.luetke at gmail.com
Tue Mar 1 15:07:02 GMT 2005


You could use symlinks + an environment variable like the RAILS_ENV
one which changes the production DB to connect to...


On Mon, 28 Feb 2005 17:04:33 +0000, Dylan <b9704 at supanet.com> wrote:
> I'm not sure if 'instance' is the right word but I need to deploy 6
> copies of the same rails app, and possibly more in the future.
> 
> I can set up 6 virtual hosts and copy the app to their directories, but
> updating the code will be a pain, especially if I need to set up more
> copies in future.
> 
> what would be the best way to handle this? It'd be great if I could just
> set up 6 virtual hosts, each of which use the same rails app but a
> different database to store their data. Is something like this possible?
> 
> thanks
> dylan
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
> 


-- 
Tobi
http://www.snowdevil.ca - Snowboards that don't suck
http://www.hieraki.org   - Open source book authoring
http://blog.leetsoft.com - Technical weblog


More information about the Rails mailing list