summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-04-25 11:06:21 +0200
committerSamuel Giddins <segiddins@segiddins.me>2017-04-25 11:06:21 +0200
commit9c1857a1e8d229236c5d576abc852e41fb406de2 (patch)
treee9cd62004f4689d0c77bc0fbd3d56a35f886155c /spec
parent85f8aa8673056a6a2ad06c714094db5fcafc6e1f (diff)
downloadbundler-9c1857a1e8d229236c5d576abc852e41fb406de2.tar.gz
Add a spec for open-uri not being loaded after setupseg-dont-require-thor-actions
Diffstat (limited to 'spec')
-rw-r--r--spec/runtime/setup_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 14f973dc97..b19a81e75f 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -1163,6 +1163,12 @@ end
loaded_specs = Gem.loaded_specs.dup
#{exemptions.inspect}.each {|s| loaded_specs.delete(s) }
pp loaded_specs
+
+ # not a default gem, but harmful to have loaded
+ open_uri = $LOADED_FEATURES.grep(/open.uri/)
+ unless open_uri.empty?
+ warn "open_uri: \#{open_uri}"
+ end
RUBY
it "activates no gems with -rbundler/setup" do