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::Specification.dirs=

dirs=(dirs)

Set the directories that Specification uses to find specs. Setting this resets the list of known specs.