Skip to content

Commit aea6036

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Missing tweak
ruby/rubygems@407c1cbcfe
1 parent 4be199e commit aea6036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubygems/platform.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def initialize(arch)
126126
when /solaris-?(\d+\.\d+)?/ then ["solaris", $1]
127127
when /wasi/ then ["wasi", nil]
128128
# test
129-
when /^(\w+_platform)(\d+)?/ then [$1, $2]
129+
when /^(\w+_platform)-?(\d+)?/ then [$1, $2]
130130
else ["unknown", nil]
131131
end
132132
when Gem::Platform then

0 commit comments

Comments
 (0)