Homebrewから必要なものをインストールする。 その前にformulaを更新する [code] $ brew update openssl、readline、ruby-buildをインストールする。 [code] $ brew install openssl $ brew install readline $ brew install ruby-build リンクする。 [code] $ brew link readline openssl --force ruby2.0ではhomebrewから入れたopensslを使ってコンパイルするとsslの証明書エラーが起きる。対策のためにhomebrewから証明書を入れる。 [code] $ brew install curl-ca-bundle $ brew list curl-ca-bundle /usr/local/Cellar/curl