Install a Ruby Definition (Ruby version)
Property | Ruby Type | Default | Description |
---|---|---|---|
definition |
String | Version of Ruby to install | |
environment |
String | Environment to pass to the ruby-build install process | |
group |
String | Group to install as | |
prefix_path |
String | /usr/local/ruby |
Location to install Ruby |
user |
String | User to install as | |
verbose |
Boolean | false |
Print compilation status to stdout |
ruby_build_install ''
ruby_build_definition "ree-1.8.7-2012.02" do
environment({ 'CONFIGURE_OPTS' => '--no-tcmalloc' })
end
ruby_build_definition "maglev-1.0.0" do
prefix_path "/home/deploy/.rubies/maglev-1.0.0"
user "deploy"
group "deploy"
end