mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 06:25:31 +02:00
[rubygems/rubygems] Remove old gauntlet_rubygems
file on rubygems upgrade
The file was removed at65b709b095
, shipped with rubygems 2.6.5.739159a120
This commit is contained in:
parent
c982c5efac
commit
0e195c82c1
Notes:
git
2020-05-08 14:14:11 +09:00
2 changed files with 6 additions and 1 deletions
|
@ -604,6 +604,9 @@ abort "#{deprecation_message}"
|
|||
|
||||
to_remove = old_lib_files - lib_files
|
||||
|
||||
gauntlet_rubygems = File.join(lib_dir, 'gauntlet_rubygems.rb')
|
||||
to_remove << gauntlet_rubygems if File.exist? gauntlet_rubygems
|
||||
|
||||
to_remove.delete_if do |file|
|
||||
file.start_with? 'defaults'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue