Project:Ruby

The Gentoo website contains official information on the Gentoo Ruby project.

Information for users
Right now, we include the following Ruby implementations in Gentoo.

These implementations need an active maintainer. They are currently available in the tree, but are unsupported. Ping us, if you want to help out!
 * ruby19 - Ruby MRI 1.9
 * ruby20 - Ruby MRI 2.0
 * ruby21 - Ruby MRI 2.1


 * jruby - JRuby (based on the Java Virtual Machine)
 * rbx - Rubinius

This graph shows the current distribution of Ruby implementations in Gentoo.

You can activate these by adding RUBY_TARGETS="$implementation" to your make.conf. Please note that you might overwrite the implementations set by base profile.

You can install multiple Ruby implementations in parallel. The RUBY_TARGETS picks the implementations from USE_RUBY (which is set in the ebuild) and installs these.

The base profile currently activates Ruby MRI 1.9 and Ruby 2.0. Our recommendation is to run Ruby packages with Ruby MRI 1.9 per default. You can eselect it via:

Information for developers
To ease maintenance of Ruby-based packages we currently provide two eclasses:


 * ruby-ng.eclass
 * ruby-fakegem.eclass


 * Packaging RubyGems
 * Ongoing Tasks
 * Pending Bumps
 * Adding new ruby versions
 * Ruby-Overlay
 * RubyGems packages that need an update
 * Ruby 1.9 deprecation

Old and probably outdated documents

 * Ruby 1.9 migration
 * Ruby 1.8 deprecation

