From 72b7bfed0786bb4f12521f141ba0a307e826d5dc Mon Sep 17 00:00:00 2001 From: Alessandro Desantis Date: Wed, 4 Sep 2019 12:17:35 +0200 Subject: [PATCH] Fix dummy app generator to skip Bootsnap and Webpack in Rails 6 Because Bootsnap and Webpacker are not included in our Gemfile, the dummy app generator would fail when attempting to create a new dummy app. --- core/lib/generators/spree/dummy/dummy_generator.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/lib/generators/spree/dummy/dummy_generator.rb b/core/lib/generators/spree/dummy/dummy_generator.rb index 7b3c4dda470..4e7938e88b2 100644 --- a/core/lib/generators/spree/dummy/dummy_generator.rb +++ b/core/lib/generators/spree/dummy/dummy_generator.rb @@ -42,6 +42,8 @@ def generate_test_dummy opts[:skip_spring] = true opts[:skip_test] = true opts[:skip_yarn] = true + opts[:skip_bootsnap] = true + opts[:skip_webpack_install] = true puts "Generating dummy Rails application..." invoke Rails::Generators::AppGenerator,