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

Scott Hill stmpjmpr at gmail.com
Tue Mar 1 15:23:10 GMT 2005


If your app uses sessions and there are users who will hit multiple
instances of the app, you'll want to be careful about sharing the
session across instances.

--Scott

On Tue, 1 Mar 2005 10:07:02 -0500, Tobias Luetke
<tobias.luetke at gmail.com> wrote:
> 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
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
> 


-- 

--Scott


More information about the Rails mailing list