How to upgrade ruby to a new version in RHEL.
When I try - sudo yum install ruby
It says
Package ruby-2.0.0.648-33.el7_4.x86_64 already installed and latest
version Nothing to do
When I try - sudo yum install @ruby2.5
It says,
Loaded plugins: fastestmirror, langpacks Repository 'UIM_install' is
missing name in configuration, using id Repository 'debug' is missing
name in configuration, using id Repository nodesource is listed more
than once in the configuration Repository nodesource-source is listed
more than once in the configuration Repository 'opencl' is missing
name in configuration, using id Loading mirror speeds from cached
hostfile Group ruby2.5 does not exist. Error: Nothing to do
I need the latest ruby in my system. What is the solution?
Edit:
I tried sudo yum update ruby
and gave the following response.
Loading mirror speeds from cached hostfile
No packages marked for update
yum update ruby
ruby
installation.