From 4ca9dfe777cdcce024615ba69b6d6d59238cdb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sun, 18 Aug 2019 09:42:09 +0200 Subject: Maybe this is not needed It's causing a bunch of warnings during the specs and adds a dependency on rubygems internals that might be causing the MRI 2.3 failure. --- lib/bundler/stub_specification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/stub_specification.rb b/lib/bundler/stub_specification.rb index 2333a4318a..12e1008fa4 100644 --- a/lib/bundler/stub_specification.rb +++ b/lib/bundler/stub_specification.rb @@ -83,7 +83,7 @@ module Bundler # #_remote_specification has logic to handle this case, so delegate to that in that situation, # because otherwise we can end up with a stack overflow when calling #missing_extensions? def stub(check = false) - if check && @_remote_specification.nil? && @stub.instance_variable_get(:@data) && Gem.loaded_specs[name].equal?(self) + if check && @_remote_specification.nil? && Gem.loaded_specs[name].equal?(self) _remote_specification end @stub -- cgit v1.2.1