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
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ FileUtils.chdir APP_ROOT do
system! "psql -U #{postgres_user} -c 'CREATE DATABASE #{postgres_db};'"
end
system! 'bundle exec rake db:prepare'
system! 'bundle exec rake db:prepare RAILS_ENV=test'
puts '== Removing old logs and tempfiles =='
system! 'bundle exec rake log:clear tmp:clear'