aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/deploy.rb')
-rw-r--r--config/deploy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index f0ddfded5..7af18a26c 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -42,7 +42,7 @@ namespace :deploy do
desc "Runs rake task which migrates database tables for all tenants"
task :migrate_tenants do
- run "cd #{release_path} && rake apartment:migrate"
+ run "cd #{release_path} && RAILS_ENV=production bundle exec rake apartment:migrate"
end
desc "Install gems"