remove fail from rake tasks to allow heroku deployment

This commit is contained in:
carlad 2016-03-31 15:55:17 +02:00
parent 49a6bb5d26
commit d6c0621d71

View File

@ -1,6 +1,6 @@
namespace :db do
env = ENV["RAILS_ENV"]
fail "Cannot run rake db:create in production." if env == 'production'
# fail "Cannot run rake db:create in production." if env == 'production'
desc "Create and migrate the #{env} database"
task :create do
sh "createdb travis_#{env}" rescue nil