I am pleased to announce the immediate availability of Ruby in versions 1.9.3, 2.0.0, and 2.2, and Ruby on Rails in versions 3.2, 4.0 and 4.1 on CentOS Linux 7 x86_64, delivered via a Software Collection (SCL) built by the SCLo Special Interest Group (https://wiki.centos.org/SpecialInterestGroup/SCLo).

QuickStart
----------
You can get started in three easy steps (example of Ruby 2.2 and Ruby on Rails 4.1, for others use particular collection names instead):
  $ sudo yum install centos-release-scl
  $ sudo yum install rh-ruby22 rh-ror41
  $ scl enable rh-ruby22 bash

At this point you should be able to use ruby just as a normal
application. An examples of commands run might be:
  $ ruby my-app.rb
  $ gem install activeresource
  $ bundle

In order to view the individual components included in this
collection, including additional rubygems plugins, you can run:
  $ sudo yum list rh-ruby22\* rh-ror41\*

The rh-ror41 collection relies on the rh-ruby22 collection and the ror40 collection relies on the ruby200 collection, so the Ruby collections will be also installed when the Ruby on Rails collection is installed.

About Software Collections
--------------------------
Software Collections give you the power to build, install, and use multiple versions of software on the same system, without affecting system-wide installed packages. Each collection is delivered as a group of RPMs, with the grouping being done using the name of the collection as a prefix of all packages that are part of the software collection.

The collection rh-ruby22 delivers bundler and Ruby interpreter in version 2.2, while the collection rh-ror41 delivers Ruby on Rails framework in version 4.1 that allows to create and run applications in Ruby or Ruby on Rails framework.

The collection ruby200 delivers only the Ruby interpreter in version 2.0.0, while the ror40 collection delivers Ruby on Rails framework in versoin 4.0 and bundler.

The collection ruby193 delivers Ruby interpreter in version 1.9.3, bundler and Ruby on Rails framework in version 3.2.

Some of the most common rubygems are also included in the collections as RPMs, the rest may be installed using bundler or gem tools.

For more on the Ruby and Ruby on Rails, see https://www.ruby-lang.org, http://rubyonrails.org or https://rubygems.org.

The SCLo SIG in CentOS
----------------------
The Software Collections SIG group is an open community group co-ordinating the development of the SCL technology, and helping curate a reference set of collections. In addition to the Ruby and Ruby on Rails collections being released here, we also build and deliver databases, web servers, and language stacks including multiple versions of PostgreSQL, MariaDB, Apache HTTP Server, NodeJS, Python and others.

Software Collections SIG release was announced at https://lists.centos.org/pipermail/centos-announce/2015-October/021446.html

You can learn more about Software Collections concepts at: http://softwarecollections.org You can find information on the SIG at https://wiki.centos.org/SpecialInterestGroup/SCLo ; this includes howto get involved and help with the effort.

We meet every Wednesday at 16:00 UTC in #centos-devel (ref: https://www.centos.org/community/calendar), for an informal open forum open to anyone who might have comments, concerns or wants to get started with SCL's in CentOS.

Enjoy!

Honza
SCLo SIG member

_______________________________________________
CentOS-announce mailing list
CentOS-announce@centos.org
https://lists.centos.org/mailman/listinfo/centos-announce

Reply via email to