End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.state_file
state_file
lib/rubygems/defaults.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/defaults.rb, line 139
def self.state_file
@state_file ||= File.join(Gem.state_home, "gem", "last_update_check").tap(&Gem::UNTAINT)
end
The path to standard location of the user’s state file.