OpenSSL 3.x and Ruby 3.0.y

Ryan Lahfa <[email protected]> Sun, 14 May 2023 20:50:44 +0200
Newsgroups dev.linux.lists.distributions
Message-ID <ugny5rbd4g3nuge7yuyhygqgb343eflqwavht2wmkp5oradoeq@2nat6bpbmsbz>
Hi there,

Ruby 3.0.x decided to not support OpenSSL ≥ 3 in their tree.
Though, it seems like many services like Gitlab are still compatible
only with Ruby 3.0.x.

A solution (which I think was found out also by Fedora?) consist into
installing the OpenSSL gem version ≥ 3.

We do it by replacing the `$ruby-tree/ext/openssl` directory in this way
in NixOS: https://github.com/NixOS/nixpkgs/pull/231899/files#diff-c1d18e0554429e0b48c20c01ef94191fa75ba3ef6e057b5b9e3c40dde0c2b64bR158-R163

FWIW, Ruby 3.0.x will be supported for the next 10 months, Ruby 3.1 do
not have this problem.

Kind regards,
-- 
Ryan Lahfa,
NixOS release manager for 23.05, 23.11