From ae54f6300fcc427f3086f65d58c1da5dd8fb4784 Mon Sep 17 00:00:00 2001 From: Marc Lainez Date: Sun, 11 Sep 2011 22:36:41 +0200 Subject: [PATCH] Remove db seed from production deploy --- config/deploy/production.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 83073b0..1ddecd8 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -52,15 +52,10 @@ run "ln -s #{deploy_to}/shared/database.yml #{deploy_to}/current/config/database.yml" end - desc "Seeding Database" - task :rake_db_seed do - run "cd #{current_path}/ && rake RAILS_ENV=\"production\" db:seed --trace" - end - [:start, :stop].each do |t| desc "#{t} task is a no-op with mod_rails" task t, :roles => :app do ; end end - after "deploy:update", "deploy:remove_pictures", "deploy:symlink_members_pictures", "deploy:symlink_options", "deploy:symlink_db", "deploy:rake_db_migrate", "deploy:rake_db_seed" + after "deploy:update", "deploy:remove_pictures", "deploy:symlink_members_pictures", "deploy:symlink_options", "deploy:symlink_db", "deploy:rake_db_migrate" end \ No newline at end of file