您好我正在尝试将 RVM 安装到 Mac OsX v 10.4.11 上。
在终端中输入:
curl -L get.rvm.io | bash -s stable
我收到这条消息:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 387 0 --:--:-- --:--:-- --:--:-- 0
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). The default
bundle is named curl-ca-bundle.crt; 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.
我在 StackOverflow 上发现了类似的问题,例如Curl Certificate Error when Using RVM to install Ruby 1.9.2,但是 a)这是首先安装 RVM 的问题,而不是使用 RVM 安装新版本的 Ruby,更重要的是 b)类似问题的最佳答案表明这是在引用 RVM 的旧站点时生成的错误,即。rvm.beginrescueend.com。给出的解决方案是使用
curl -L get.rvm.io | bash -s stable
这是我正在使用的,但对我来说,它正在生成此错误消息,因此我被卡住了。任何帮助将不胜感激,谢谢
菲利普