Skip to content
On this page

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.4

Gem::PlatformMismatch

< Gem::ErrorReason 2 instance methods 1 class methods

Generated when trying to lookup a gem to indicate that the gem was found, but that it isn’t usable on the current platform.

fetch and install read these and report them to the user to aid in figuring out why a gem couldn’t be installed.

Class methods 1

Instance methods 2

Attributes
Read

the name of the gem

Read

The platforms that are mismatched

Read

the version