Installing OpenSSL with HomeBrew will not immediately bind it as OpenSSL by default.
First, let's see which version you are using (July 10, 15 latest version 1.0.2d ):
openssl version -a which openssl ruby -r openssl -e 'puts OpenSSL::OPENSSL_VERSION'
Now, be sure to update OpenSSL to the latest version:
brew update brew install openssl brew unlink openssl brew link
If you run the initial checks again, you should see the first 2 pointing to the recently installed OpenSSL. Ruby will most likely point to the old one anyway, since it was compiled with it.
If it points to the old version, let me recompile Ruby and point it to the new one. And just to be sure that it will use the correct version, let it pass the OpenSSL prefix - although this is not necessary, since we linked the homebrrew OpenSSL.
rvm get stable rvm install ruby-2.1.6
(or rvm reinstall if you are already using 2.1.6)
That should do it.
source share