Trying to set up a new macbook for a colleague. Not going well.
First I install OpenSSL:
Heathers-MacBook-Pro:~ heather$ rvm pkg install openssl F
Installing Ruby 2.2 on macOS Mojave (10.14.2) with Homebrew.
Install Homebrew
brew install openssl rvm install 2.2 --with-openssl-dir=/usr/local/opt/openssl
Don't use rvm pkg it's deprecated, use rvm autolibs enabled.
rvm pkg
rvm autolibs enabled