Fix bug
This commit is contained in:
parent
53ac0aa763
commit
77111f2328
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ FileUtils.chdir APP_ROOT do
|
||||||
system! "psql -U #{postgres_user} -c 'CREATE DATABASE #{postgres_db};'"
|
system! "psql -U #{postgres_user} -c 'CREATE DATABASE #{postgres_db};'"
|
||||||
end
|
end
|
||||||
system! 'bundle exec rake db:prepare'
|
system! 'bundle exec rake db:prepare'
|
||||||
|
system! 'bundle exec rake db:prepare RAILS_ENV=test'
|
||||||
|
|
||||||
puts '== Removing old logs and tempfiles =='
|
puts '== Removing old logs and tempfiles =='
|
||||||
system! 'bundle exec rake log:clear tmp:clear'
|
system! 'bundle exec rake log:clear tmp:clear'
|
||||||
|
|
Reference in a new issue