Skip to content

Instantly share code, notes, and snippets.

@sutanto
Created November 14, 2020 09:57
Show Gist options
  • Save sutanto/999b8ec6cd0e63848a37c7a906acace8 to your computer and use it in GitHub Desktop.
Save sutanto/999b8ec6cd0e63848a37c7a906acace8 to your computer and use it in GitHub Desktop.
Install OpenSSL 1.0.2t and Ruby 2.3.8 on Big Sur and newer Homebrew
# New Homebrew version no longer support direct url installation (like in this script: https://gist.github.com/sutanto/75a778f94edae116aeaa5ec56955ce58)
# We now need to create "custom" local tap that holds the specific version we'd like to install
brew tap-new sutanto/homebrew-versions
git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch --unshallow
brew extract --version 1.0.2t openssl sutanto/homebrew-versions
brew install sutanto/homebrew-versions/openssl@1.0.2t
ruby-install ruby 2.3.8 -- --with-openssl-dir=/usr/local/opt/openssl@1.0.2t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment