diff options
author | なつき <i@ntk.me> | 2022-08-30 22:08:45 -0700 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-09-01 15:01:40 +0900 |
commit | aded6971ad37a75e4eb0493159c19c94971e80e4 (patch) | |
tree | aabf030131ce7be5996223b71bd299bbe60195a6 /lib | |
parent | 941e9be0d9c44db5932386152b42f0fd44079420 (diff) |
[rubygems/rubygems] Support non gnu libc arm-linux-eabi platforms
https://github.com/rubygems/rubygems/commit/394d7a6fc9
Diffstat (limited to 'lib')
-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 8c5e7993ca..06de5ded8d 100644 --- a/lib/rubygems/platform.rb +++ b/lib/rubygems/platform.rb @@ -180,7 +180,7 @@ class Gem::Platform # version ( (@os != "linux" && (@version.nil? || other.version.nil?)) || - (@os == "linux" && ((@version.nil? && ["gnu", "musl"].include?(other.version)) || (@version == "gnu" && other.version.nil?))) || + (@os == "linux" && (other.version == "gnu#{@version}" || other.version == "musl#{@version}" || @version == "gnu#{other.version}")) || @version == other.version ) end |