diff --git a/spec/support/acceptance/helpers/step_helpers.rb b/spec/support/acceptance/helpers/step_helpers.rb index 529f97fc..73a5b325 100644 --- a/spec/support/acceptance/helpers/step_helpers.rb +++ b/spec/support/acceptance/helpers/step_helpers.rb @@ -116,7 +116,7 @@ module AcceptanceTests def add_rspec_rails_to_project! add_gem 'rspec-rails', rspec_rails_version - run_command_within_bundle!('bundle install --binstubs') if rails_gt_6_0? + run_command_within_bundle!('bundle install --local --binstubs') if rails_gt_6_0? run_command_within_bundle!('rails g rspec:install') remove_from_file '.rspec', '--warnings' end