$ rvm install ruby-2.0.0
...
requirements_brew_generate_openssl_cert:4: no such file or directory: /usr/local/Cellar/openssl/1.0.1e/bin/openssl
requirements_brew_generate_openssl_cert:6: permission denied: /cert.pem
requirements_brew_generate_openssl_cert:7: permission denied: /cert.pem
requirements_brew_generate_openssl_cert:8: no such file or directory: /usr/local/Cellar/openssl/1.0.1e/bin/c_rehash
$ brew install openssl
==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz
0.0%
curl: (7) couldn't connect to host
Error: Download failed: http://openssl.org/source/openssl-1.0.1e.tar.gz
Hater. Let me get it from somewhere that exists.
$ brew edit openssl
Change url
to mirror site (that actually works).
require 'formula'
class Openssl < Formula
homepage 'http://openssl.org'
url 'http://mirrors.ibiblio.org/openssl/source/openssl-1.0.1e.tar.gz'
...
$ brew install openssl
==> Downloading http://mirrors.ibiblio.org/openssl/source/openssl-1.0.1e.tar.gz
######################################################################## 100.0%
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic shared darwin64-x86_64-
==> make
==> make test
==> make install MANDIR=/usr/local/Cellar/openssl/1.0.1e/share/man MANSUFFIX=ssl
==> Caveats
To install updated CA certs from Mozilla.org:
brew install curl-ca-bundle
This formula is keg-only: so it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
The OpenSSL provided by OS X is too old for some software.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.1e: 429 files, 15M, built in 3.7 minutes
And OF COURSE, rvm install ruby-2.0.0
be working like a charm. ;)
Thank you! You are truly amazing!!