OpenSSL, RVM, Brew, conflicting error

openssl, ruby, rvm

Solution

Try `brew reinstall openssl` then `brew link openssl --force`

Problem

When I run brew doctor in Terminal: I get the following error: ``` Warning: Some keg-only formula are linked into the Cellar. You may wish to `brew unlink` these brews: openssl ``` If I unlink it, and I type rvm requirements: I will get the following Error. ``` Checking requirements for osx. dyld: Library not loaded: @@HOMEBREW_CELLAR@@/openssl/1.0.1f/lib/libssl.1.0.0.dylib Referenced from: /usr/local/opt/openssl/bin/openssl Reason: image not found Failed reading certificates path for '/usr/local/opt/openssl/bin/openssl' with return code: (). RVM autolibs is now configured with mode '2' => 'check and stop if missing', please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]` or visit https://rvm.io/rvm/autolibs for more information. Requirements installation failed with status: 133. ``` When I run brew unlink openssl, myssl version changed from OpenSSL 1.0.1f 6 Jan 2014 to OpenSSL 0.9.8y 5 Feb 2013 So the question is: How Do I make both Brew Doctor and RVM Requirements Happy ? By having the same OpeenSSL version ? (Assumptions)

Original source