Curl Certificate Error when Using RVM to install Ruby 1.9.2

前端 未结 11 1490
太阳男子
太阳男子 2020-11-27 10:29

RVM is running into a certificate error when trying to download Ruby 1.9.2. It looks like curl is having a certificate issue but I am not sure how to bypass it

11条回答
  •  情深已故
    2020-11-27 10:52

    I had trouble installing 1.9.2 using RVM, here is my solution:

    • Download yaml-0.1.3.tar.gz from http://www.filewatcher.com/m/yaml-0.1.3.tar.gz.466845.0.0.html
    • Save it to /Users//.rvm/archives/yaml-0.1.3.tar.gz
    • Run these commands:

      chmod 777 yaml-0.1.3.tar.gz

      tar zxf /Users//.rvm/archives/yaml-0.1.3.tar.gz -C /Users//.rvm/src

    I still got the file not found error but the installation went on to be successful

    [2011-07-05 14:24:07] tar zxf /Users//.rvm/archives/yaml-0.1.3.tar.gz -C /Users//.rvm/src --no-same-owner tar (child): /Users//.rvm/archives/yaml-0.1.3.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors

提交回复
热议问题