Permalink
Browse files

Fix issue with missing rake and rails_env defined in migrate deploy r…

…ecipe.
  • Loading branch information...
1 parent c2b248f commit 7b4c66bb111297c5e0beb412c480281209af4782 @ppg ppg committed Nov 12, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/capistrano/recipes/deploy.rb
View
2 lib/capistrano/recipes/deploy.rb
@@ -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)

0 comments on commit 7b4c66b

Please sign in to comment.