macOS Big Sur: RVM error running ‘__rvm_make -j4’

If you are runnig into issues installing RVM and Ruby on macOS Big Sur and you get the following “error running ‘__rvm_make -j4′”. Here is a solution to get Ruby installed under RVM.

brew install homebrew/portable-ruby/portable-openssl
rvm reinstall ruby-2.3.1 --with-openssl-dir=/usr/local/opt/portable-openssl/

I have not spent time diving into the root cause of the error, just glad someone had a solution to the problem. Here is the original Github issue report that had a solution that worked: https://github.com/rvm/rvm/issues/4484.

Ubuntu + RVM: Ruby Install – There was an error(23)

After a new install of RVM on Ubuntu, you may run into the error “There was an error(23)” in conjunction with a file write or folder creation permission error. This is caused when, for some reason, RVM does not properly add your Ubuntu user to the RVM group after it was installed. To correct this error, you need to complete the following steps, and executing the following commands:

Execute in terminal:
rvm group add rvm "$USER"

Log out of Ubuntu and log back in. If it still fails, you may need to have RVM fix its system permissions with the command:

Execute in terminal:
rvm fix-permissions