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 682714a5de..f67e4022b6 100644 --- a/lib/rubygems/platform.rb +++ b/lib/rubygems/platform.rb @@ -81,7 +81,7 @@ class Gem::Platform os, version = $1, $3 @cpu = 'x86' if @cpu.nil? and os =~ /32$/ [os, version] - when /netbsdelf/ then [ 'netbsdelf', nil ] + when /(netbsd[a-z]*)(\d+)/ then [ $1, $2 ] when /openbsd(\d+\.\d+)/ then [ 'openbsd', $1 ] when /solaris(\d+\.\d+)/ then [ 'solaris', $1 ] # test |