diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-18 09:42:09 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-03-10 17:47:39 +0100 |
commit | 4ca9dfe777cdcce024615ba69b6d6d59238cdb4d (patch) | |
tree | 646513c93bc9ffa4e6ada9d1f75f3345be666476 | |
parent | 627b2e2d56db1daffa76a98c215b3d4a7c64c027 (diff) | |
download | bundler-4ca9dfe777cdcce024615ba69b6d6d59238cdb4d.tar.gz |
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.
-rw-r--r-- | lib/bundler/stub_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |