1
0
Fork 0
This commit is contained in:
Alex Kotov 2020-01-17 14:24:57 +05:00
parent 53ac0aa763
commit 77111f2328
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -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'