Skip to content

Instantly share code, notes, and snippets.

@mnyrop
Created August 3, 2023 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnyrop/c580f78817e169c072d8ead18870916a to your computer and use it in GitHub Desktop.
Save mnyrop/c580f78817e169c072d8ead18870916a to your computer and use it in GitHub Desktop.

check stuff

  • brew doctor # check that you're ready to brew
  • which openssl # see what openssl you have

if not openssl isn't v1 via brew (current is 3 but incompatible)

  • brew install openssl@1.1 # install it
  • echo 'export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc # configure it
  • export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
  • export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
  • brew link --force openssl@1.1
  • gem install eventmachine -- --with-cppflags=-I/usr/local/opt/openssl/include # try to install eventmachine with openssl flags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment