Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem.load_plugins

() -> ::Array[::String]
load_plugins

Find rubygems plugin files in the standard location and load them. At most one stub is loaded per gem: a stub in the running Ruby’s ABI directory wins over a root stub of the same name, since it was installed specifically for this Ruby.