Maintenance Ruby 3.3 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.3.0/lib/rubygems/uninstaller.rb, line 293
def regenerate_plugins
latest = Gem::Specification.latest_spec_for(@spec.name)
return if latest.nil?
regenerate_plugins_for(latest, @plugins_dir)
end
Regenerates plugin wrappers after removal.
See also
#path_ok?
#remove
#default_specs_that_match
#remove_all
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0