We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be199e commit aea6036Copy full SHA for aea6036
lib/rubygems/platform.rb
@@ -126,7 +126,7 @@ def initialize(arch)
126
when /solaris-?(\d+\.\d+)?/ then ["solaris", $1]
127
when /wasi/ then ["wasi", nil]
128
# test
129
- when /^(\w+_platform)(\d+)?/ then [$1, $2]
+ when /^(\w+_platform)-?(\d+)?/ then [$1, $2]
130
else ["unknown", nil]
131
end
132
when Gem::Platform then
0 commit comments