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:

Mint 13: Installing Oracle JDK 7

How to install Oracle JDK 7 instead of the OpenJDK on your Linux Mint 13 (or Ubuntu 12) system. I found that I needed the official JDK in order to properly run JetBrains’ RubyMine IDE as well as a few other applications which do not play well with OpenJDK.
To do this open a terminal and execute the following commands in order:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
After the installation runs its course, check to make sure that Java is reporting the correct version of JDK 7. Execute the command:
java -version
It should return something like this:
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
If the version reported back is not the latest as installed by the above command you may need to force the system to update its references to Java and its executables. Run the following command and then check the version again to verify:
sudo update-java-alternatives -s java-7-oracle