End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::RDoc#remove
remove
lib/rdoc/rubygems_hook.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rdoc/rubygems_hook.rb, line 220
def remove
base_dir = @spec.base_dir
raise Gem::FilePermissionError, base_dir unless File.writable? base_dir
FileUtils.rm_rf @rdoc_dir
FileUtils.rm_rf @ri_dir
end
Removes generated RDoc and ri data