diff options
| author | Luc Donnet | 2013-12-12 12:09:32 +0100 |
|---|---|---|
| committer | Luc Donnet | 2013-12-12 12:09:32 +0100 |
| commit | d73b38adb29a82e71049e0aacd45c61665d27466 (patch) | |
| tree | 4d8db24e091c0174ab422b86366a06e7dac37686 | |
| parent | 2dd191cd353d146b63993eabdcdcf974d84d5035 (diff) | |
| download | chouette-core-d73b38adb29a82e71049e0aacd45c61665d27466.tar.bz2 | |
add environment for apartment migrations
| -rw-r--r-- | config/deploy.rb | 2 |
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" |
