Installing Rubies on M1 Macs
May 22nd, 2023 at 9:35:20 PM GMT+0
If you are running into issue like the following.
Error running '__rvm_make -j8',
please read /Users//.rvm/log/1684773949_ruby-2.7.1/make.log
There has been an error while running make. Halting the installation.
Run:
```brew install libffi```
```export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"```
```LDFLAGS="-L/opt/homebrew/opt/libffi/lib" CPPFLAGS="-I/opt/homebrew/opt/libffi/include" rvm install "ruby-*.*.*"```