rh-ruby22 - A release of Ruby 2.2. This version provides substantial performance and reliability improvements, including incremental and symbol garbage collection and many others, while maintaining source level backward compatibility with Ruby 2.0.0 and Ruby 1.9.3.

This collection is EOL since April 2018.

Report a bug in the issue tracker

Instructions

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-ruby22

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

The last command runs the Bash shell in the environment with rh-ruby22 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-ruby22\*

Ruby Software Collection as Docker Formatted Container

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

$ docker pull rhscl/ruby-22-rhel7

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

Policy

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.

Related software collections

This collection provides packages, which may be required by some package from these collections:

Yum Repositories July 29, 2015, 3:10 p.m.

Operating system Package with repo Browse files
CentOS 6.9

x86_64
CentOS 7.4.1708

x86_64
RHEL 6

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

RHEL 7

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

Tags

Rating

Rated by 0 users

Report malicious content