Curl error 77 while installing RVM
OS: Ubuntu 20.04
While following RVM: Ruby Version Manager — Installing RVM to install RVM, got the following error:
curl: (77) error setting certificate verify locations:
I tried a few ways around, but didn’t fix. Finally this one works for me.
$ sudo apt reinstall ca-certificates
$ sudo update-ca-certificates
The second command is important. I ran the first command first, but the problem didn’t fix, so I thought ca-certificates package was fine. Then I went with other posts which kind of wasting lots of time.
Then, finally, I realized I have to run the second command too.