Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::Platform.local
local(refresh: false)
lib/rubygems/platform.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/platform.rb, line 15
def self.local(refresh: false)
return @local if @local && !refresh
@local = begin
arch = Gem.target_rbconfig["arch"]
arch = "#{arch}_60" if /mswin(?:32|64)$/.match?(arch)
new(arch)
end
end
No documentation available