diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-05-30 21:46:47 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-06-01 17:07:34 +0900 |
commit | f5b88d93ae58dd8a956782f08a435e452f5eba12 (patch) | |
tree | b3101fe7ff53eadbd0ad14f6c17e85cfba00c48d | |
parent | 8381c568e70519e6902302cbe2b421742759f341 (diff) | |
download | ruby-f5b88d93ae58dd8a956782f08a435e452f5eba12.tar.gz |
[rubygems/rubygems] Remove code that seems unnecessary
This change was never covered with a spec, and we have recently covered
the case of partially deleted gems with specs and it works fine
(installation is "auto-healed").
https://github.com/rubygems/rubygems/commit/6e66ee4235
-rw-r--r-- | lib/bundler/stub_specification.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/stub_specification.rb b/lib/bundler/stub_specification.rb index fa071901e5..4a23b2cfe8 100644 --- a/lib/bundler/stub_specification.rb +++ b/lib/bundler/stub_specification.rb @@ -64,9 +64,7 @@ module Bundler end def full_gem_path - # deleted gems can have their stubs return nil, so in that case grab the - # expired path from the full spec - stub.full_gem_path || method_missing(:full_gem_path) + stub.full_gem_path end def full_require_paths |