Installing Ruby 2.0.0 using RVM

前端 未结 5 378
天命终不由人
天命终不由人 2021-02-02 08:18

I have tried installing Ruby 2.0.0 using RVM:

  rvm install 2.0.0

Once installation is done. I did rvm list

5条回答
  •  梦如初夏
    2021-02-02 08:37

    When you do

    rvm list known
    

    You obtain the list of known rubies that you can install

    This list is updated at the same time you update rvm. Then you need to update rvm before installing MRI Ruby 2.0.0

    Update rvm to the latest version

    rvm get stable
    

    Then try installing ruby

    rvm install 2.0.0
    

    if there is any error, such as missing packages, it will be listed. Install those packages for debian-based systems using

    Use yum install / brew install for Fedora/CentOS/RHEL systems , Mac with Homebrew respectively

    apt-get install "your missing packges"
    
    eg:
    sudo apt-get install libsigsegv2 gawk libgdbm-dev libffi-dev
    

    once the missing packages are installed.

    try installing ruby 2.0.0

    rvm install 2.0.0
    

提交回复
热议问题