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 [email protected]) | |
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 [email protected])/include | |
bundle install | |
# With Ruby 2.7.2 | |
# 1. Make sure [email protected] is available in $PATH after brew install and also that it has certs in | |
# /usr/local/etc/[email protected]/certs | |
# If there are no certs, do this: | |
brew reinstall [email protected] | |
# 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
):