GNU/Linux RVM Manage Multiples Rubies Versions Guide

April 28, 2020 | By the+gnu+linux+evangelist.

Installing Rubies

  1. 4. Installing Rubies

    Now to Install Rubies on Linux
    First, to List Known Ruby Versions
    To avoid possible Issue switch to a Login Shell with:

    bash --login

    Then to List the Ready-made Versions:

    rvm list known

    But this List is Not frequently Up to date…
    So you should Browse to Check All Available Versions in: RVM Rubies Repository!
    Then for instance to Setup Ruby 3.2.0 issue:

    rvm install 3.2.0

    Especially relevant: starting with the Latest OpenSSL 3+ RVM is Not any more able to Setup Ruby 2.x Versions.

    You will need to be Patient and Wait Until Achievement of Downloading, Compiling & Installing Procedure…

  2. 5. Managing Rubies

    First, to List Installed Rubies
    Play:

    rvm list

    Then to Select/Use a Ruby Version use:

    rvm use 3.2.0

    After you Can Check that Ruby is Working with:

    which ruby

    And to know the Actual Ruby Version:

    ruby -v

Contents


QuickChic Theme • Powered by WordPress