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:
parent
ea5b136155
commit
1fb44d2b8c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue