Skip to content

Instantly share code, notes, and snippets.

@ParsifalC
Last active April 1, 2016 09:00
Show Gist options
  • Save ParsifalC/31c4364af8b6d858d14ab9e945dd0ca1 to your computer and use it in GitHub Desktop.
Save ParsifalC/31c4364af8b6d858d14ab9e945dd0ca1 to your computer and use it in GitHub Desktop.
> gem source -a https://gems.ruby-china.org/
Error fetching https://gems.ruby-china.org/:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://gems.ruby-china.org/specs.4.8.gz)
http://railsapps.github.io/openssl-certificate-verify-failed.html
依次执行下列命令 更新ssl证书
$ rvm -v
$ rvm osx-ssl-certs status all
$ rvm osx-ssl-certs update all
$ sudo rvm osx-ssl-certs cron install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment