hmm, you have rvm, but why do you need sudo? I thought rvm was in sandbox mode. Anyway, the error just means that it cannot find the ssl path. First, make sure you have openssl installed. If not, you need to install it (brew, macport, etc.) Or rvm pkg install openssl and let rvm manage its path (you already have rvm). After that, you will need to reinstall ruby. RVM manual here
source share