End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver::LocalSpecification#installable_platform?
installable_platform?
lib/rubygems/resolver/local_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/resolver/local_specification.rb, line 9
def installable_platform?
return true if @source.kind_of? Gem::Source::SpecificFile
super
end
Returns true if this gem is installable for the current platform.