diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-06 13:59:39 +0200 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2019-08-16 14:30:23 +0900 |
commit | 3c23bb29ecbc0c736e99d23a3c47892d67f3a322 (patch) | |
tree | ec9984430dd64f5540527fc57a8cacf63f4f5fa9 /spec | |
parent | 3f0e19c9fa566de3691b994ef6c2bea8cb5fdb83 (diff) |
[bundler/bundler] Remove unnecessary exclusions
https://github.com/bundler/bundler/commit/c189dfdde0
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2366
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/runtime/setup_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 995a269018..bee4e3fdd1 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/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 |