diff --git a/spec/bundler/spec_helper.rb b/spec/bundler/spec_helper.rb index 6a7e2891a6..d3a92d84b2 100644 --- a/spec/bundler/spec_helper.rb +++ b/spec/bundler/spec_helper.rb @@ -114,6 +114,6 @@ RSpec.configure do |config| end config.after :suite do - FileUtils.rm_r Spec::Path.pristine_system_gem_path + FileUtils.rm_rf Spec::Path.pristine_system_gem_path end end