--- lib/rubygems/platform.rb.orig 2016-06-11 14:52:28.468697000 +0200 +++ lib/rubygems/platform.rb 2016-06-11 14:53:11.130833000 +0200 @@ -71,6 +71,7 @@ when /darwin(\d+)?/ then [ 'darwin', $1 ] when /^macruby$/ then [ 'macruby', nil ] when /freebsd(\d+)?/ then [ 'freebsd', $1 ] + when /bsdsunix(\d+)?/ then [ 'bsdsunix', $1 ] when /hpux(\d+)?/ then [ 'hpux', $1 ] when /^java$/, /^jruby$/ then [ 'java', nil ] when /^java([\d.]*)/ then [ 'java', $1 ]