DEV: `docker:test` rake task should install plugins first before migrating.

This commit is contained in:
Guo Xiang Tan 2018-06-07 15:20:06 +08:00
parent 49f39ca64d
commit 1d5c176ea5
1 changed files with 2 additions and 2 deletions

View File

@ -70,13 +70,13 @@ task 'docker:test' do
ENV["RAILS_ENV"] = "test"
@good &&= run_or_fail("bundle exec rake db:create db:migrate")
if ENV["INSTALL_OFFICIAL_PLUGINS"]
@good &&= run_or_fail("bundle exec rake plugin:install_all_official")
@good &&= run_or_fail("bundle exec rails r 'puts \"installing all gems\"'")
end
@good &&= run_or_fail("bundle exec rake db:create db:migrate")
unless ENV["JS_ONLY"]
unless ENV["SKIP_CORE"]