Skip to content

Commit

Permalink
Fix issue with missing rake and rails_env defined in migrate deploy r…
Browse files Browse the repository at this point in the history
…ecipe.
  • Loading branch information
ppg committed Nov 12, 2011
1 parent c2b248f commit 7b4c66b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/capistrano/recipes/deploy.rb
Expand Up @@ -375,6 +375,8 @@ def try_runner(*args)
set :migrate_target, :latest
DESC
task :migrate, :roles => :db, :only => { :primary => true } do
rake = fetch(:rake, "rake")
rails_env = fetch(:rails_env, "production")
migrate_env = fetch(:migrate_env, "")
migrate_target = fetch(:migrate_target, :latest)

Expand Down

0 comments on commit 7b4c66b

Please sign in to comment.