Skip to primary content

42

Web notebook about thoughts and discoveries in DevOps, SRE, Software Engineering….

42

Main menu

  • Home
  • About
  • contact
  • Links

Post navigation

← Previous Next →

cap deploy_with_migrations default behaviour

Posted on 30 November 2007 by kosmas

Problem
When using cap deploy_with_migrations, the default behaviour is to deploy with the migrations in the production environment.

Solution
To change this behavior add:

set  :rails_env,  "development"

in your config/deploy.rb

This entry was posted in ruby on rails and tagged capistrano, deploy, development, migrations, production, ruby on rails by kosmas. Bookmark the permalink.
Proudly powered by WordPress