- Prerequisite: Install required Developer Libraries
sudo apt-get install libssl-dev libreadline-dev
-
Then, follow up this tutorial: https://www.anegron.site/2020/01/30/installing-rbenv-and-ruby-on-raspberry-pi/
-
Now activate the proper version for Homebrew - as of July 2020 the commands were: