安装fastlane的时候报错:
ERROR: SSL verification error at depth 0: ok (0)
ERROR: SSL verification error at depth 0: ok (0)
ERROR: SSL verification error at depth 0: ok (0)
ERROR: Could not find a valid gem 'rvm' (>= 0), here is why:
Unable to download data from https://ruby.taobao.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (certificate rejected) (https://ruby.taobao.org/specs.4.8.gz)
ERROR: SSL verification error at depth 0: ok (0)
ERROR: SSL verification error at depth 0: ok (0)
Selected SSL certs for: curl
cURL certificate bundle curl is /usr/share/curl/curl-ca-bundle.crt not found
$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
To find the location of this file use:
$ curl-config --ca
/usr/share/curl/curl-ca-bundle.crt
Backup your curl-ca-bundle.crt file:
$ cp /usr/share/curl/curl-ca-bundle.crt /usr/share/curl/curl-ca-bundle.crt.old
Then you want to concatenate the two file using:
$ cat cacert.pem /usr/share/curl/curl-ca-bundle.crt >> curl-ca-bundle-new.crt