Commit a23612cf

mo k <mo@mokhan.ca>
2012-05-26 14:08:42
run rake db:seed when deploying to staging or production
1 parent 699aef3
Changed files (1)
capfile
@@ -34,5 +34,5 @@ end
 
 task :update_bundler do
   run "bundle install --gemfile #{release_path}/Gemfile"
-  run "cd #{release_path} && bundle exec rake db:migrate RAILS_ENV=production"
+  run "cd #{release_path} && bundle exec rake db:migrate RAILS_ENV=production && bundle exec rake db:seed RAILS_ENV=production"
 end