Created
February 21, 2023 02:28
-
-
Save josephrexme/428c6c3a578728bb83d0cea379cb2660 to your computer and use it in GitHub Desktop.
OPENSSL Ruby Issues (fixing for frum vm)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# With Ruby 2.7.7 | |
# The error: | |
# OpenSSL 3 - symbol not found in flat namespace '_SSL_get1_peer_certificate' | |
frum uninstall 2.7.7 | |
frum install 2.7.7 --with-openssl-dir=$(brew --prefix openssl@1.1) | |
gem install bundler -v 2.2.19 # or whatever the Gemfile.lock bundler version you have is | |
bundle config build.puma --with-cppflags=-I$(brew --prefix openssl@1.1)/include | |
bundle install | |
# With Ruby 2.7.2 | |
# 1. Make sure openssl@1.1 is available in $PATH after brew install and also that it has certs in | |
# /usr/local/etc/openssl@1.1/certs | |
# If there are no certs, do this: | |
brew reinstall openssl@1.1 | |
# Check SSL issues | |
curl -Lks 'https://git.io/rg-ssl' | ruby | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would probably help to keep these in shell config (
.zprofile
,.zshrc
,.bashprofile
,.bashrc
):