From Gentoo Wiki
Revision as of 09:13, 2 June 2014 by Mrueg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Gentoo Ruby Project
Description The Ruby project maintains packages for Ruby implementations, libraries and development tools. This project also maintains the RubyGems package, the de facto standard for packaging Ruby projects.
IRC Channel #gentoo-ruby
Parent Project Gentoo Linux
Subprojects (none)
Tags ruby, programming languages
Project listing

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

Information for users

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

  • 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 (lacks active support. If you're interested, step up!)

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.


# Installs packages for Ruby 1.9, Ruby 2.0 and Ruby 2.1
RUBY_TARGETS="ruby19 ruby20 ruby21"

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:

root # eselect ruby set ruby19

Information for developers

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

Old and probably outdated documents


We are currently looking for users interested in helping the project with these jobs:
Title Description Requirements Contact
Ruby core package maintainer Ruby core package maintainer to help out with the core ruby packages (dev-lang/ruby and dev-ruby/rubygems). Revision bumping, handling security bugs, patching packages to play nice with Gentoo, following upstream to handle changes and updates in a timely manner. Experience with ruby on Linux, ideally Gentoo. Knowledge of C and ruby. Experience with patching software.
Ruby package maintainer General ruby package maintainer to help out managing packages in the herd. Revision bumping, bug filing/fixing, updating ebuilds per eclass or syntax changes, etc. This involves a mix of gem and source based ebuilds. Experience with ruby on Linux, ideally Gentoo. Knowledge of the gem repository system and its supporting software and experience with building ruby software using setup.rb and its many incarnations.