Hey
I’m trying to install rvm so I can updat my version of Ruby from 1.8.6
to 1.8.7.
To install I’m using
\curl -L https://get.rvm.io | bash -s stable
,but this results in the following error:
curl: (77) error setting certificate verify locations:
CAfile: /Users/prepressmac/.ssh/cacert.pem
CApath: none
I’m working on mac os x version 10.5.8
Does anyone have any idea how to fix this?
Debbie B. wrote in post #1119171:
Hey
I’m trying to install rvm so I can updat my version of Ruby from 1.8.6
to 1.8.7.
To install I’m using
\curl -L https://get.rvm.io | bash -s stable
,but this results in the following error:
curl: (77) error setting certificate verify locations:
CAfile: /Users/prepressmac/.ssh/cacert.pem
CApath: none
I’m working on mac os x version 10.5.8
Does anyone have any idea how to fix this?
You cannot update an existing Ruby version just by installing RVM “over
it” and run update. RVM “manages” the Ruby versions, so it has to know
about it, so it has to install it.
I suggest to remove all Ruby versions before installing RVM to avoid
confusion.
To the problem: you are trying to download a HTTPS page and curl tries
to check whether the certificate (that HTTPS site is providing) is good,
but for that it needs a list of CA-s which is missing (or
misconfigured). Try to install CA certificates or try to use “-k” to
curl which allows insecure connections (it might not work, as I cannot
reproduce your problem to test it properly, it is possible that -k
allows improper certs in HTTPS sites but won’t allow if the CA certs are
entirely missing).