How To Fix “dlopen(/Users/esilva/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/x86_64-darwin15/openssl.bundle, 9): Library not loaded: /usr/local/lib/libssl.1.0.0.dylib” And “dlopen(/Users/esilva/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/x86_64-darwin15/openssl.bundle, 9): Library not loaded: /usr/local/lib/libcrypto.1.0.0.dylib”

I was tinkering with my Mac computer and did several administrative tasks that ended up messing up my rails and gem install processes. I would run rails or gem install and terminal would spew a bunch of error messages stating libcrypto.1.0.0.dylib and libssl.1.0.0.dylib could not be loaded.