End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::PlatformMismatch#add_platform
add_platform(platform)
lib/rubygems/errors.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/errors.rb, line 129
def add_platform(platform)
@platforms << platform
end
append a platform to the list of mismatched platforms.
Platforms are added via this instead of injected via the constructor so that we can loop over a list of mismatches and just add them rather than perform some kind of calculation mismatch summary before creation.