Allows you to install ruby using ruby-build.
Configures ruby by:
- Cloning and installing ruby-build.
- Installing packages necessary for compiling ruby
- Installs ruby via
alternatives
command (man alternatives
) - Adds profile script to ammend the path to point to the
alternatives
maintainedbin
path for ruby.
Declare in your own class or manifest:
node default {
class { 'ruby': }
ruby::version { '1.9.3-p194': }
}