diff --git a/Rakefile b/Rakefile index 226c7e8a..528424f1 100644 --- a/Rakefile +++ b/Rakefile @@ -18,7 +18,7 @@ task :prepare_assets do system "rm -rf test/dummy/public/packs" system "rm -rf test/dummy/public/packs-test" system "yarn install --frozen-lockfile" - system "(cd test/dummy && yarn install --frozen-lockfile)" + system "(cd test/dummy && yarn install --frozen-lockfile) && RAILS_ENV=test bundle exec rails webpacker:compile" end # Generate dependency licenses