Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::InstallerUninstallerUtils#plugin_stub_dir_for
plugin_stub_dir_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 36
def plugin_stub_dir_for(spec, plugins_dir)
full_spec = spec.to_spec
return plugins_dir unless Gem::ContentAddress.content_addressed?(full_spec)
File.join plugins_dir, full_spec.ruby_abi
end
No documentation available