diff options
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/platform.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/platform.rb b/lib/rubygems/platform.rb index 603d8ae8b8..dc2640eb6d 100644 --- a/lib/rubygems/platform.rb +++ b/lib/rubygems/platform.rb @@ -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 |