Install a different homebrew openssl version based on the Ruby version. This should allow users to attempt installing older versions of Ruby which requires openssl@1.1, and newer versions of Ruby which require openssl@3.0. However, this code will do nothing for Linux or BSD users who's package managers only provide one version of openssl; which is openssl-3.0 because openssl-1.1 has reached EoL. This code will eventually be removed in the future, because continuing to install or support EoL versions of Ruby or openssl, which are no longer receiving security patches is risky.
Install a different homebrew
openssl
version based on the Ruby version. This should allow users to attempt installing older versions of Ruby which requiresopenssl@1.1
, and newer versions of Ruby which requireopenssl@3.0
. However, this code will do nothing for Linux or BSD users who's package managers only provide one version of openssl; which is openssl-3.0 because openssl-1.1 has reached EoL. This code will eventually be removed in the future, because continuing to install or support EoL versions of Ruby or openssl, which are no longer receiving security patches is risky.openssl@1.1
.openssl@3.0
.