Error while installing ruby using rvm

后端 未结 14 2040

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:37

    I had the above error on installing ruby-2.3.0 in Ubuntu 16.04.

    Go to the file:

    /etc/apt/sources.list.d/mc3man-ubuntu-trusty-media-xenial.list
    

    and remove the below:

    deb-src http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial main
    deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial main 
    

    then run sudo apt-get update and after rvm install ruby-2.3.0 it's working.

    0 讨论(0)
  • 2020-12-13 15:38

    you can temporarily disable updates by this

    sudo apt-get update | grep "Failed"

    Ruby RVM apt-get update error

    0 讨论(0)
提交回复
热议问题