1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Detect libc version, closes #2918

https://github.com/rubygems/rubygems/commit/1d18b12a26
This commit is contained in:
f 2019-09-20 10:38:10 -03:00 committed by Hiroshi SHIBATA
parent ea5b136155
commit 1fb44d2b8c
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -88,7 +88,7 @@ class Gem::Platform
when /^dalvik(\d+)?$/ then [ 'dalvik', $1 ]
when /^dotnet$/ then [ 'dotnet', nil ]
when /^dotnet([\d.]*)/ then [ 'dotnet', $1 ]
when /linux/ then [ 'linux', $1 ]
when /linux-?(\w+)?/ then [ 'linux', $1 ]
when /mingw32/ then [ 'mingw32', nil ]
when /(mswin\d+)(\_(\d+))?/ then
os, version = $1, $3