新手问题 安装 ruby 第一步就出问题。。。

paomian · 2013年08月20日 · 最后由 floger 回复于 2013年10月16日 · 3916 次阅读

curl -L https://get.rvm.io | bash -s stable --ruby % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) Peer's certificate issuer has been marked as not trusted by the user. 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. 这是什么情况

在用代理么?

提示信息里写的很清楚了

If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

加上-k参数

curl -k -L https://get.rvm.io | bash -s stable --ruby

#2 楼 @loveky 我用了,没用

#1 楼 @zhen9ao 没有,正宗天朝网络

是不是原生 curl 的问题?Mac OS 么?用 Homebrew 装 curl 试试呢

证书问题?

#6 楼 @sevk #5 楼 @zhen9ao 谷歌没找到。。。。这错误怎么解决

#7 楼 @paomian 证书问题

估计你的网络被黑客劫持了。

#8 楼 @floger 重新安装什么

重新安装 curl

需要 登录 后方可回复, 如果你还没有账号请 注册新账号