summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ee234bfdeb..ec6dba3e7d 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -101,7 +101,7 @@ RSpec.configure do |config|
config.around :each do |example|
ENV.replace(original_env)
- system_gems []
+ set_gem_paths_to(system_gem_path)
@command_executions = []
Bundler.ui.silence { example.run }