Error installing ruby version on M1 Mac
OpenSSL
Usually, the errors regarding installing ruby on an M1 mac is OpenSSL related. Here are some common errors and fixes.
Error:
Error running '__rvm_make -j8',
Fix:
1. Check OpenSSL path with
brew --prefix openssl
2. Then run this command to install ruby with the path to OpenSSL
rvm reinstall ruby-3.2.2 --with-openssl-dir=/opt/homebrew/opt/openssl@3