Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.27 KB

definition.md

File metadata and controls

36 lines (27 loc) · 1.27 KB

ruby_build_install

Install a Ruby Definition (Ruby version)

Properties

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

Example Usage

Install Enterprise Ruby

ruby_build_install ''

ruby_build_definition "ree-1.8.7-2012.02" do
  environment({ 'CONFIGURE_OPTS' => '--no-tcmalloc' })
end

Install A Ruby For A User

ruby_build_definition "maglev-1.0.0" do
  prefix_path "/home/deploy/.rubies/maglev-1.0.0"
  user        "deploy"
  group       "deploy"
end