# PortGroup ruby

PortGroup ruby allows for efficient porting of ruby-based open source software.

## ruby PortGroup Specific Variables

When the ruby PortGroup is declared within a Portfile, the following variables are provided during port install.

ruby.version

  The MacPorts Ruby version.

ruby.bin

  The Ruby binary location.

ruby.lib

  Path to the Ruby vendorlibdir directory (ie, `${prefix}/lib/ruby/vendor_ruby/${ruby.version}`)

ruby.arch

  The name for the Ruby architecture-dependent directory name (ie, `i686-darwin8.10.1`).

ruby.archlib

  Path to the Ruby vendor archdir (ie, `${ruby.lib}/${ruby.arch}`).