Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::InstallerUninstallerUtils#remove_plugins_for
remove_plugins_for(spec, plugins_dir)
lib/rubygems/installer_uninstaller_utils.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/installer_uninstaller_utils.rb, line 29
def remove_plugins_for(spec, plugins_dir)
FileUtils.rm_f Gem::Util.glob_files_in_dir("#{spec.name}#{Gem.plugin_suffix_pattern}", plugins_dir)
FileUtils.rm_f Gem::Util.glob_files_in_dir("#{spec.name}#{Gem.plugin_suffix_pattern}", ruby_abi_plugin_dir_for(spec, plugins_dir))
end
No documentation available
See also
#regenerate_plugins_for
#ruby_abi_plugin_dir_for
#plugin_stub_dir_for
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0