rvm install 1.9.3 でYAMLがエラーとか言われた

rvm install 1.9.3 でYAMLがエラーとか言われたのでログを見ると、SSLの証明書に問題があるとか。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$ rvm install 1.9.3
...
Fetching yaml-0.1.4.tar.gz to /Users/---/.rvm/archives
% 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) 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.
ERROR: There was an error, please check /Users/---/.rvm/log/ruby-1.9.3-p0/*.log. Next we'll try to fetch via http.

rvm の何かが古かったようなので、
何かを更新したら解決しました。

1
2
3
$rvm get head
$rvm reload
$rvm get stable

参考:RVM refusing to install and giving non-existant log files?

何が更新されたんだろ。