Re: [Rails] staging deploy connected to production database

2013-05-15 Thread Dheeraj Kumar
set :rails_env, 'staging' set :rails_env, 'production' ^^ add these in the appropriate files. -- Dheeraj Kumar On Wednesday 15 May 2013 at 9:25 PM, John Merlino wrote: > I'm not sure why but I have both a staging and production deploy using > the 'capistrano/ext/multistage' gem. I set stagi

[Rails] staging deploy connected to production database

2013-05-15 Thread John Merlino
I'm not sure why but I have both a staging and production deploy using the 'capistrano/ext/multistage' gem. I set staging to the default: set :stages, ["staging", "production"] set :default_stage, "staging" It deploys correctly to the right path: #deploy/staging.rb set :deploy_to, "/home/myuser/p