check stuff
brew doctor
# check that you're ready to brewwhich 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 itecho 'export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
# configure itexport 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