Ruby RVM apt-get update error

前端 未结 17 2377
醉酒成梦
醉酒成梦 2020-12-02 12:03

I get following error when trying to install anything with RVM:

Searching for binary rubies, this might take some time.
Found remote file https://rvm.io/bina         


        
17条回答
  •  渐次进展
    2020-12-02 12:35

    1) Before installing ruby must be done update:

    apt is preferred over apt-get for interactive use in recent Ubuntu versions and apt should fix by:

    sudo apt update
    sudo apt upgrade
    

    Or with apt-get may be used --allow-releaseinfo-change

    sudo apt-get --allow-releaseinfo-change update
    

    2) After successfully installation, for example ruby-2.3.1:

    rvm install 2.3.1
    

提交回复
热议问题