diff options
Diffstat (limited to 'config/deploy.rb')
| -rw-r--r-- | config/deploy.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index a65db82df..285938700 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -24,8 +24,6 @@ after "deploy:update", "deploy:cleanup", "deploy:group_writable" after "deploy:update_code", "deploy:symlink_shared", "deploy:chouette_command", "deploy:gems" # ugly workaround for bug https://github.com/capistrano/capistrano/issues/81 before "deploy:assets:precompile", "deploy:symlink_shared" -after "deploy:restart", "delayed_job:restart" -after "deploy:migrate", "deploy:migrate_tenants" # If you want to use command line options, for example to start multiple workers, # define a Capistrano variable delayed_job_args: @@ -46,11 +44,6 @@ namespace :deploy do run "mkdir -p #{dirs.join(' ')} && (chmod g+w #{dirs.join(' ')} || true)" end - desc "Runs rake task which migrates database tables for all tenants" - task :migrate_tenants do - run "cd #{release_path} && RAILS_ENV=production bundle exec rake db:migrate" - end - desc "Install gems" task :gems, :roles => :app do run "cd #{release_path} && umask 02 && bundle install --path=#{shared_path}/bundle --without=development:test:cucumber" |
