gem install rails -v 4.1
ruby -ropen-uri -e 'eval open("https://git.io/vQhWq").read'
-e:1:in `eval': uninitialized constant OpenSSL::OPENSSL_LIBRARY_VERSION (NameError)
ruby -v -e 'require "openssl"; p OpenSSL'
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
OpenSSL
brew rm openssl brew cleanup openssl brew install openssl