remove fail from rake tasks to allow heroku deployment
This commit is contained in:
parent
49a6bb5d26
commit
d6c0621d71
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user