On OSX, after downloading the ruby repository latest commit from github and following the instructions to build, I run
Failed to configure openssl. It will not be installed.
Skipping `gem cert` tests. openssl not found.
`<class:TestGemRemoteFetcher>': uninitialized constant TestGemRemoteFetcher::OpenSSL (NameError)
openssl library as a keg-only. Try passing path to your openssl to your build script:
./configure --with-openssl-dir="$(brew --prefix openssl)"