Error while installing ruby using rvm

后端 未结 14 2104

Am getting the below error while trying to install ruby using rvm:

$rvm install 1.9.3
Searching for binary rubies, this might take some time.
Checking requir         


        
14条回答
  •  攒了一身酷
    2020-12-13 15:19

    RVM will not install ruby if apt-get is failing. I had the same issue and noticed when running apt-get update, it was failing on "google-chrome.list". I fixed it following these directions and was then able to successfully run apt-get update, which then allowed me to run rvm install ruby.

    1. Edit google-chrome.list (assuming you’re on the Stable Channel):

    sudo gedit /etc/apt/sources.list.d/google-chrome.list

    1. In the text file that opens edit the file so that the line reads:

    deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

    1. Try to update again:

    sudo apt-get update

    1. Try to run RVM again:

    rvm install ruby

提交回复
热议问题