I installed Homebrew from my admin account. If I run brew doctor
from that account I get no errors, but if I run brew doctor
from my non-admin user acc
I had the same problem, I had to read the doc and think a lot.
$ rvm autolibs read-only # read more here: https://rvm.io/rvm/autolibs
$ rvm install ruby # or any version you want
This tells rvm to install ruby with current installed libs... default is read-fail which terminate rvm for missed requirements.
To use openssl (gem needs it, I had to rebuild ruby). Ask the computer admin install openssl with brew
$ brew install openssl # if you want to install all dependencies run 'rvm requirements'
$ rvm reinstall ruby
or
$ rvm install ruby