diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile index ee84ef38..b11b8047 100644 --- a/gemfiles/rails_6.1.gemfile +++ b/gemfiles/rails_6.1.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" gem "puma", "~> 5.6" gem "traces", "~> 0.9.1" +gem "concurrent-ruby", "1.3.4" # https://github.com/rails/rails/pull/54264 ENV["RAILS_VERSION"] = "6.1" diff --git a/spec/support/example_app_helper.rb b/spec/support/example_app_helper.rb index 82a0c8dc..0f626a0b 100644 --- a/spec/support/example_app_helper.rb +++ b/spec/support/example_app_helper.rb @@ -11,7 +11,12 @@ def setup_example_app root_path = example_app_path.join('..') FileUtils.cd(root_path) do - system("rails new #{app_name} -d postgresql --skip-action-text --skip-action-mailer --skip-action-mailbox --skip-action-cable --skip-git --skip-sprockets --skip-listen --skip-javascript --skip-turbolinks --skip-solid --skip-kamal --skip-system-test --skip-test-unit --skip-bootsnap --skip-spring --skip-active-storage") + system <<~BASH, exception: true + bundle exec rails new #{app_name} -d postgresql \ + --skip-action-text --skip-action-mailer --skip-action-mailbox --skip-action-cable --skip-git --skip-sprockets \ + --skip-listen --skip-javascript --skip-turbolinks --skip-solid --skip-kamal --skip-system-test --skip-test-unit \ + --skip-bootsnap --skip-spring --skip-active-storage + BASH end FileUtils.rm_rf("#{example_app_path}/config/initializers/assets.rb")