Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.solaris_platform?
solaris_platform?
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems.rb, line 1011
def self.solaris_platform?
RUBY_PLATFORM.include?("solaris")
end
Is this platform Solaris?
See also
.ruby_version
.source_date_epoch
.rubygems_version
.source_date_epoch_string
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1