End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.load_plugins
load_plugins
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems.rb, line 1052
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_yaml
.load_env_plugins
.location_of_caller
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1