Ruby - Using OpenSSL 1.1.1 for CI

Trying to use a recent Ruby with OpenSSL 1.1.1, actually a version with TLS v1.3.

On the *nix side, there doesn’t seem to be anything easily accessible.

On macOS, Ruby 2.4.5 is compiled with 1.1.1, but uses a version of Ruby OpenSSL (2.0.9) that is not compatible with TLS v1.3.

XCode 10.1 seems to load 1.1.1, but since neither Ruby 2.5.x or 2.6.x are compiled with it, again no TLS v1.3.

Tried compiling the OpenSSL gem, but since the default gem and the current gem release are the same version (for 2.5.5 & 2.6.2), it can’t be activated.

Hence, any help / suggestions would be appreciated. It would certainly be helpful if Ruby 2.5.x & 2.6.x were compile with OpenSSL 1.1.1…

Using osx, xcode 10.2 has Ruby 2.4 and later built with OpenSSL 1.1.1, and compiling also uses OpenSSL 1.1.1.

JFYI, 10.1 had ragel installed, needed to install it manually using 10.2