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
OP actually saved my day! In my case:
$ rvm pkg install openssl $ rvm remove 2.4 $ rvm install 2.4 --with-openssl-dir=$HOME/.rvm/usr $ gem install bundler