Question

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?

Was it helpful?

Solution

You can do this with Capistrano's Multistage extension

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top