{"record":{"id":"7dc445b7de71c091","repo":"ruby/rubygems","slug":"your-platform-is-not-supported","errorCode":null,"errorMessage":"your platform is not supported","messagePattern":"your platform is not supported","errorType":"exception","errorClass":"Gem::OptionParser::InvalidOption","httpStatus":null,"severity":"error","filePath":"lib/rubygems/commands/uninstall_command.rb","lineNumber":84,"sourceCode":"               \"Uninstall all versions of the named gems\",\n               \"ignoring dependencies\") do |value, options|\n      options[:force] = value\n    end\n\n    add_option(\"--[no-]abort-on-dependent\",\n               \"Prevent uninstalling gems that are\",\n               \"depended on by other gems.\") do |value, options|\n      options[:abort_on_dependent] = value\n    end\n\n    add_version_option\n    add_platform_option\n\n    add_option(\"--vendor\",\n               \"Uninstall gem from the vendor directory.\",\n               \"Only for use by gem repackagers.\") do |_value, options|\n      unless Gem.vendor_dir\n        raise Gem::OptionParser::InvalidOption.new \"your platform is not supported\"\n      end\n\n      alert_warning \"Use your OS package manager to uninstall vendor gems\"\n      options[:vendor] = true\n      options[:install_dir] = Gem.vendor_dir\n    end\n  end\n\n  def arguments # :nodoc:\n    \"GEMNAME       name of gem to uninstall\"\n  end\n\n  def defaults_str # :nodoc:\n    \"--version '#{Gem::Requirement.default}' --no-force \" \\\n      \"--user-install\"\n  end\n\n  def description # :nodoc:","sourceCodeStart":66,"sourceCodeEnd":102,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/rubygems/commands/uninstall_command.rb#L66-L102","documentation":"Error \"your platform is not supported\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/rubygems/commands/uninstall_command.rb:84 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86cbb817a38ce8477b181c17467a703ded3f2be8","analyzedAt":"2026-08-23T06:27:48.159Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}