Error while installing ruby using rvm

后端 未结 14 2039

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

    I had a permission problem, solved with:

    sudo chmod 777 log
    
    0 讨论(0)
  • 2020-12-13 15:29

    It isn't unusual to not have a binary package for you distribution, and rvm should try to install from source.

    First, check that it didn't actually install it:

    rvm list
    

    Otherwise, I suspect you may be missing some depedencies, which you can find with:

    rvm requirements
    

    You'll need to install those and the run the install again.

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

    this problem caused in apt-get update so you have to disable the PPA :

    System Settings>Software & Updates>Other Software

    then reinstall. this image show disable PPA

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

    make sure you can update your system:

    sudo apt-get update
    

    and then start rvm installation again.

    Update 1:

    also it looks like you are using old version of rvm, make sure to update rvm before continuing:

    rvm get stable
    
    0 讨论(0)
  • 2020-12-13 15:34

    When you are initially installing rvm, read the notes. For suppose you get notes like,

    create a * WARNING: You have '~/.profile' file, you might want to load it, to do that add the following line to '/home/name/.bash_profile':source ~/.profile

    Then-> $ sudo gedit /home/name/.bash_profile

       Add line `~/.profile` to the file. Save and close it.
    

    now run $ rvm requirements You should get a success message.

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

    I was facing the same problem and just did that:

    sudo rm /etc/apt/sources.list.d/webupd8team-ubuntu-sublime-text-3-bionic.list

    Now it works!

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