Erro ao tentar instalar o RVM no meu VPS

3

Estou trabalhando na implantação do meu primeiro aplicativo rails em meu mediatemple (dv) e estou tentando instalar o RVM primeiro usando este comando:

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

e recebo o seguinte erro:

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.

Could not download 'https://github.com/wayneeseguin/rvm/tarball/stable'.
  Make sure your certificates are up to date as described above.
  To continue in insecure mode run 'echo insecure >> ~/.curlrc'.

Parece que devo poder especificar -k/--insecure para ignorar a verificação do certificado, mas como posso fazer isso? Eu sou uma espécie de novato no Linux.

    
por Catfish 04.03.2012 / 19:13

1 resposta

3

Você leu a mensagem de erro corretamente? A última linha dessa mensagem tem a solução.

echo insecure >> ~/.curlrc

Execute o procedimento acima em seu shell e execute novamente o instalador do RVM.

    
por 04.03.2012 / 21:16