diff options
author | David RodrÃguez <[email protected]> | 2024-10-08 21:25:23 +0200 |
---|---|---|
committer | git <[email protected]> | 2024-10-09 06:21:30 +0000 |
commit | 9f812522f521bf4f3d550a84233a05d23e7dd5ec () | |
tree | e35409f0ad9990639324c762b0ac0ba6904137a7 /lib/rubygems/commands | |
parent | 73834f11fa22ab963df064f7a6fe34c6a0488468 (diff) |
[rubygems/rubygems] Allow `gem pristine` to reset default gems too
https://.com/rubygems/rubygems/commit/c9e665eb8a
-rw-r--r-- | lib/rubygems/commands/pristine_command.rb | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -134,11 +134,8 @@ extensions will be restored. say "Restoring gems to pristine condition..." - specs.each do |spec| - if spec.default_gem? - say "Skipped #{spec.full_name}, it is a default gem" - next - end if options.key? :skip if options[:skip].include? spec.name @@ -188,6 +185,7 @@ extensions will be restored. env_shebang: env_shebang, build_args: spec.build_args, bin_dir: bin_dir, } if options[:only_executables] |