Trying to install “brew” on a computer foreign computer I was hung up on this the today. How rather dumb!
How to normally install brew:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" => curl: (1) Protocol https not supported or disabled in libcurl
Thought this was going to be easy right, wtf?
So, I had to go here: http://curl.haxx.se/docs/faq.html and http://curl.haxx.se/download.html
Do a little reading about how curl probably doesn’t have ssl support installed, figure it’s best to reinstall, pick my flavor, and download into ~/src. I put all downloads in a ~/src directory. It makes them easy to find if you ever need.
Then I do this
$ cd ~/src $ tar -xzf curl-7.21.7-1-osx6-x86.tar.gz $ cd curl-7.21.7 $ ./configure --with-ssl $ make $ make test (optional) $ sudo make install
Then I got this after running the script again:
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
$ /usr/bin/ruby -e "$(curl -fsSL -k https://raw.github.com/gist/323731)"
Snap, everything works! Wonder if I could have gotten away with the flag from the beginning? At least curl is updated.