Project

General

Profile

« Previous | Next » 

Revision 98192830

Added by deivid (David Rodríguez) almost 3 years ago

[rubygems/rubygems] Handle non-gnu libc on linux platforms in RubyGems

Attempting to install a gem published as both *-linux and *-linux-musl
results in the incorrect gem being picked up, causing build failures due
to binary incompatibility. This is caused by the nil wildcard
swallowing the libc information upon version comparison.

Handle the linux case by performing only non-wildcard equality on the
version and asserting 'gnu' and nil equivalence, while preserving the
current behaviour for other OSes.

https://github.com/rubygems/rubygems/commit/9eead86abc

Co-authored-by: Loic Nageleisen