diff options
author | David RodrÃguez <[email protected]> | 2024-08-19 20:18:23 +0200 |
---|---|---|
committer | git <[email protected]> | 2024-08-21 12:07:10 +0000 |
commit | 419d3221fb48a6c7eda2f6ddcfef9566516aa703 () | |
tree | 5de7bf4e47fd3c31d54f62e3c72317a1a044131a /lib/rubygems/commands | |
parent | 3ebe249ce1f93db9c6178230ae21166e35579da6 (diff) |
[rubygems/rubygems] Fix `gem uninstall <name>:<version>` failing on shadowed default gems
https://.com/rubygems/rubygems/commit/29357a5dd6
-rw-r--r-- | lib/rubygems/commands/uninstall_command.rb | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -157,9 +157,14 @@ that is a dependency of an existing gem. You can use the gem_specs = Gem::Specification.find_all_by_name(name, original_gem_version[name]) - say("Gem '#{name}' is not installed") if gem_specs.empty? - gem_specs.each do |spec| - deplist.add spec end end |