• TechOps

    Need clarity?
    Chat with our experts now

    • Web Hosting SupportWeb Hosting Support
    • Helpdesk Support

      Skilled and professional 24/7 helpdesk support

    • Product Support

      Boost your product support with our expertise

    • Managed ServicesManaged Services
    • Server Management

      Don't let server issues slow you down. Let us manage them for you

    • Server Monitoring

      Safeguard your server health with our comprehensive monitoring solutions

    • Staff AugmentationStaff Augmentation
    • Hire an Admin

      Transform your business operations with our expert administrative support

    • Hire a Team

      Augment your workforce with highly skilled professional from our diverse talent pool

  • CloudOps

    Confused?
    Discuss with our sales team now.

    • Author ProfileAWS
      Well Architected Review
    • Author ProfileFinOps As a Service

      FinOps As a Service

    • Migrate

      Upgrade the journey: Migrate & Modernize seamlessly

    • Modernize

      Effortless CloudOps mastery for seamless cloud management

    • Optimize

      Efficient CloudOps: Boosting performance through optimization

    • Manage

      Simplify compliance complexities with our dedicated service

  • DevOps

    How Supportsages
    is creating an
    impact?

    View Casestudies
    • Author Profile24/7 DevOps As a Service

      Round-the-clock DevOps for uninterrupted efficiency

    • Author ProfileCI/CD Pipeline

      Automated CI/CD pipeline for seamless deployments

    • Author ProfileInfrastructure As a Code

      Crafting infrastructure with ingenious code

    • Author ProfileDevSecOps

      Integrated security in continuous DevOps practices

    • Author ProfileHire DevOps Engineers

      Level up your team with DevOps visionaries

    • Author ProfileConsulting Services

      Navigate success with expert DevOps consulting

  • SecOps

    Expert SecOps Services
    for any Scale

    • Author ProfileVAPT

      Vulnerability Assessment and Penetration Testing

    • Author ProfileSource Code Review

      Ensuring source code security and safe practices to reduce risks

    • Author ProfileSecurity Consultation

      On demand services for improving server security

    • Author ProfileSystem Hardening

      Reduced vulnerability and proactive protection

    • Author ProfileManaged SOC

      Monitors and maintains system security. Quick response on incidents

    • Author ProfileCompliance as a Service

      Regulatory compliance, reduced risk

  • Insights

    Explore our latest
    insights and resources

    Blog

    Explore our latest articles and insights

    Case Studies

    Read about our client success stories

  • Contact Us

  • About
  • Certifications
  • Life at Supportsages
  • Events
  • Contact
  • Careers
  • Blog

  • Dedicated Support Team
  • Quasi-dedicated Support Team
  • Hire a DevOps Engineer
  • Hire a Billing Support Staff
  • Per-ticket Support Plan
  • Managed Services

  • Microsoft Azure Expert
  • AWS Cloud Expert
  • Hire a developer
SS

SupportSages

Bites of wisdom @ work


Copyright © 2008 - 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy

Installing multiple versions of Ruby and Switching using RVM

Manu M.

  • 2 min read
Installing multiple versions of Ruby and Switching using RVM

Generating audio, please wait...

Last day I was trying to perform  Ruby installation  on my distro. Problem was that I already have latest version Ruby installation and wish to keep it and at the same time install an older version. After doing some research on this I came across RVM. Now RVM is an incredible work which saved my day. Before get into it multiple ruby installation we can what is Ruby and RVM.

What is Ruby?

So, What is Ruby? Ruby is a scripting language which can be run on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. Ruby is used in typical scripting language applications such as text processing and “glue” or middleware programs. It’s suitable for small, ad-hoc scripting tasks that, in the past, may have been solved with Perl.

What is RVM?

Now back to RVM. RVM or Ruby Version Manager is a platform designed to manage multiple installations of Ruby on the same device. The different versions can then be switched between to enable a developer to work on several projects with different version requirements.

Note: curl needs to be installed before proceeding.

Install Ruby Version

Before starting we will need to download the gpg-keys.

Run following from the terminal.

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

Now you can install Ruby by following command

\curl -sSL https://get.rvm.io | bash -s stable --ruby=x.x

x.x refers to the version you need to install

To view the installed Rub version, run following command.

rvm -v

List Ruby Versions

To list installed ruby versions, you can run following command.

rvm list

Switch Version

rvm --default use <version>

Never thought multiple Ruby installation could be this much easy. 🙂

Get 24/7 expert server management

  • General
  • Howtos
  • Linux

Looking for AWS Experts?

We provide top-of-the-line custom AWS setup services tailored to your needs.

Installing multiple versions of Ruby and Switching using RVM

Add a command/binary to CageFS

Add a command/binary to CageFS
  • Apache
  • Howtos
  • Linux
logo

Check inode availability for your server

Check inode availability for your server
  • Howtos
  • Linux
  • Troubleshooting
logo

Enable password asterisk in Linux

Enable password asterisk in Linux
  • Howtos
  • Linux
logo

Hide php version information

Hide php version information
  • Howtos
  • Linux
logo
Posts by Manu M.

Manu has been with us for past one and half years and is a person with good technical skills and domain knowledge. Being a highly athletic personality, Manu likes to play Cricket and Badminton of all games whenever he gets time off. Apart from his technical and athletic abilities, he is a good writer and has tried his hands on penning a few poems of his own. He believes in the mantra that "small things matter the most" and this nature can also visible in his blogs and writings.