سؤال

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?

هل كانت مفيدة؟

المحلول

You can do this with Capistrano's Multistage extension

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top