Commit adc04f4e

mo k <mo@mokhan.ca>
2012-05-08 23:37:37
add rake db:migrate to cap deploy.
1 parent 4d2e189
Changed files (1)
capfile
@@ -34,5 +34,5 @@ end
 
 task :update_bundler do
   run "bundle install --gemfile #{release_path}/Gemfile"
-  #run "bundle exec rake db:migrate"
+  run "cd #{release_path} && bundle exec rake db:migrate RAILS_ENV=production"
 end