lib/generators/katapult/basics/basics_generator.rb in katapult-0.4.0 vs lib/generators/katapult/basics/basics_generator.rb in katapult-0.4.1

- old
+ new

@@ -41,11 +41,11 @@ @katapult = File.readlines('Gemfile').find{ |line| line =~ /^gem 'katapult'/ } template 'Gemfile', force: true end def bundle_install - run 'bundle install' + run 'bundle install --quiet' # Fix Bundler for parallel_tests run 'bundle config --local disable_exec_load true' # This is relevant for the server, so it may happen after bundling here. @@ -178,11 +178,11 @@ # Configure 3rd party #################################################### def setup_spring - run 'spring binstub --all' + run 'bundle exec spring binstub --all' # Enhance Spring config config = 'config/spring.rb' inject_into_file config, <<-DIR, after: /\A%w\(\n/ lib/templates @@ -290,14 +290,9 @@ yarn :add, *YARN_PACKAGES end def configure_autoprefixer template '.browserslistrc' - end - - # Bundler prefers installed gems, but we want the newest versions possible - def update_gems - run 'bundle install' end private def merge_rails_helper_into_spec_helper