# # Test the app before deployment # desc "Check if the application is releasable => run tests" before :deploy, :test_app do unless system("bundle install") && system("bundle exec rake db:drop db:create db:migrate db:seed") && system("bundle exec rake") puts "===> FIX SPECS AND RETRY <===" exit end end