'Why doesn't RVM uninstall the version of Ruby I asked it to?

I wanted to uninstall Ruby 2.4 from our system. We have been using RVM exclusively to manage Ruby versions. I tried this

$ rvm uninstall ruby-2.4.5
ruby-2.4.5 - #removing rubies/ruby-2.4.5..
ruby-2.4.5 - #removing default ruby interpreter..............

$ rvm remove 2.4.5
ruby-2.4.5 - #removing gems......
ruby-2.4.5 - #removing wrappers......
ruby-2.4.5 - #removing environments......

There was only version left on our system

$ rvm list
   ruby-3.0.2 [ x86_64 ]

But yet when I check ruby, it is still showing the original version

$ ruby -v
ruby 2.4.5p335 (2018-10-18 revision 65137) [x86_64-linux]

Why isn’t it showing the only remaining version (3.0.2)?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source