rh-ruby24 - A release of Ruby 2.4. This version provides substantial performance and other improvements.

EL6 tests Build el6 EL7 tests Build el7

Project homepage Report a bug in the issue tracker


You can get started in three easy steps:

# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl

# On RHEL, enable RHSCL repository for you system:
$ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms

# 2. Install the collection:
$ sudo yum install rh-ruby24

# 3. Start using software collections:
$ scl enable rh-ruby24 bash

The last command runs the Bash shell in the environment with rh-ruby24 Software Collection enabled, which means that at this point you are able to use ruby just as a normal application. Some examples of available commands follow:

$ ruby my-app.rb
$ gem install activeresource
$ bundle
$ irb

In order to view the individual components included in this collection, including additional rubygems plugins, you can run:

$ sudo yum list rh-ruby24\*

Ruby Software Collection as Docker Formatted Container

On CentOS 7 and RHEL 7 you can pull the image with the following command:

$ docker pull registry.access.redhat.com/rhscl/ruby-24-rhel7
$ docker pull centos/ruby-24-centos7

For more on the docker image follow the link to public source repository: https://github.com/sclorg/s2i-ruby-container


Community Project: Maintained by upstream communities of developers. The software is cared for, but the developers make no commitments to update the repositories in a timely manner.

Yum Repositories

Operating system Package with repo Browse files
CentOS 6

yum install centos-release-scl-rh

CentOS 7

yum install centos-release-scl-rh


yum-config-manager --enable rhel-server-rhscl-6-rpms


yum-config-manager --enable rhel-server-rhscl-7-rpms



Rated by 0 users

Report malicious content