Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.load_plugins
load_plugins
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems.rb, line 1037
def self.load_plugins
Gem.path.each do |gem_path|
load_plugin_files Gem::Util.glob_files_in_dir("*#{Gem.plugin_suffix_pattern}", plugindir(gem_path))
end
end
Find rubygems plugin files in the standard location and load them
See also
.load_path_insert_index
.load_safe_marshal
.load_env_plugins
.load_yaml
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0