Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Uninstaller#regenerate_plugins
regenerate_plugins
lib/rubygems/uninstaller.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/uninstaller.rb, line 299
def regenerate_plugins
latest = specification_record.latest_spec_for(@spec.name)
return if latest.nil?
regenerate_plugins_for(latest, plugin_dir_for(@spec))
end
Regenerates plugin wrappers after removal.