Pergunta

Currently I use capistrano to deploy my app to a remote production server in Dreamhost (see this guide).

I would like to setup an alternate sub-domain (testing.example.com) in my DH setup as a sandbox enviroment for beta testing. I'm currently running Rails 2.3.10.

The Capistrano task must force RAILS_ENV to "testing". Is this possible?

Foi útil?

Solução

You can do this with Capistrano's Multistage extension

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top