search for: default_stage

Displaying 1 result from an estimated 1 matches for "default_stage".

Did you mean: default_save
2013 May 15
1
staging deploy connected to production database
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/public_html/mysite/" But it connects to the production database not staging database in my database.yml file: staging: adapter: mysql2 encoding: utf8 database: staging_da...