From aea603615fedf6289ae5e841d32a63ab3f433a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 8 May 2025 14:33:37 +0200 Subject: [PATCH] [rubygems/rubygems] Missing tweak https://github.com/rubygems/rubygems/commit/407c1cbcfe --- lib/rubygems/platform.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubygems/platform.rb b/lib/rubygems/platform.rb index 67302dc85d..04d5776cc5 100644 --- a/lib/rubygems/platform.rb +++ b/lib/rubygems/platform.rb @@ -126,7 +126,7 @@ class Gem::Platform when /solaris-?(\d+\.\d+)?/ then ["solaris", $1] when /wasi/ then ["wasi", nil] # test - when /^(\w+_platform)(\d+)?/ then [$1, $2] + when /^(\w+_platform)-?(\d+)?/ then [$1, $2] else ["unknown", nil] end when Gem::Platform then