Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem.paths
() -> ::Gem::PathSupport
paths
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems.rb, line 387
def self.paths
@paths ||= Gem::PathSupport.new(ENV)
end
Retrieve the PathSupport object that RubyGems uses to lookup files.
See also
.paths=
.path
.operating_system_defaults
.path_separator
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0