diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-06 13:59:39 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-06 17:01:14 +0200 |
commit | c189dfdde0fabe93559a263734a0e953dcead105 (patch) | |
tree | 3db3db39ca19254723641e725df6ddb5aaab5188 /spec/runtime | |
parent | cde4f2524b91a3b8b92bc674a5540346bef09c83 (diff) | |
download | bundler-c189dfdde0fabe93559a263734a0e953dcead105.tar.gz |
Remove unnecessary exclusions
Diffstat (limited to 'spec/runtime')
-rw-r--r-- | spec/runtime/setup_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index 995a269018..bee4e3fdd1 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -113,12 +113,7 @@ RSpec.describe "Bundler.setup" do context "load order" do def clean_load_path(lp) without_bundler_load_path = ruby!("puts $LOAD_PATH").split("\n") - lp = lp - [ - bundler_path.to_s, - bundler_path.join("gems/bundler-#{Bundler::VERSION}/lib").to_s, - tmp("rubygems/lib").to_s, - root.join("../lib").expand_path.to_s, - ] - without_bundler_load_path + lp -= without_bundler_load_path lp.map! {|p| p.sub(/^#{Regexp.union system_gem_path.to_s, default_bundle_path.to_s}/i, "") } end |