Install RVM on macOS

Reference: https://nrogap.medium.com/install-rvm-in-macos-step-by-step-d3b3c236953b

First, we need to install homebrew

https://brew.sh/

Install GnuPG

brew install gnupg

https://rvm.io/rvm/security

Because of security issue, rvm uses gpg for signing.

So we need to install gnupg from homebrew

Install GPG Keys

https://rvm.io/rvm/install

So we have to use gpg before installing rvm.

We have to follow up installations from document.

Install specific ruby version through rvm

rvm install 3.2.0 // or another specific version

If you use macOS, you probably can get this issue while installing ruby version.

__rvm_make -j10 error.

So for fixing this issue, I found good solution from github issue.

https://github.com/rvm/rvm/issues/5240#issuecomment-1653046500

I could install 3.2.0 version of ruby by following this comment.

openssl issue

The main reason we got this issue is Openssl.

Homebrew uses openssl@3 default (I guess)

So just simply remove openssl version 3 from homebrew, and install specific ruby version like 2.7.5. And reinstall openssl 3 again.

https://github.com/rvm/rvm/issues/5153#issuecomment-1640324769

← Go home