Ruby 2.6 by Software Collections
rh-ruby26 - A release of Ruby 2.6. This version provides substantial performance and other improvements.
EL7 testsReport 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-ruby26 # 3. Start using software collections: $ scl enable rh-ruby26 bash
The last command runs the Bash shell in the environment with rh-ruby26 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-ruby26\*
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.
|Operating system||Package with repo||Browse files|
yum install centos-release-scl-rh
yum-config-manager --enable rhel-server-rhscl-7-rpms
Rated by 0 users