End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#remove_file_list
remove_file_list(files, dir)
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/commands/setup_command.rb, line 668
def remove_file_list(files, dir)
Dir.chdir dir do
files.each do |file|
FileUtils.rm_f file
warn "unable to remove old file #{file} please remove it by hand" if
File.exist? file
end
end
end
No documentation available
See also
#regenerate_plugins
#remove_old_bin_files
#regenerate_binstubs
#remove_old_lib_files
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1