From: Tom Hughes Date: Mon, 10 Feb 2014 18:49:01 +0000 (+0000) Subject: Make sure required ruby is installed for passenger X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a09e3233db30a99a5640eea3a35919e8970f51aa Make sure required ruby is installed for passenger --- diff --git a/cookbooks/passenger/recipes/default.rb b/cookbooks/passenger/recipes/default.rb index 6656ce338..d22543370 100644 --- a/cookbooks/passenger/recipes/default.rb +++ b/cookbooks/passenger/recipes/default.rb @@ -19,6 +19,11 @@ include_recipe "apache" +package "ruby#{node[:passenger][:ruby_version]}" +package "ruby#{node[:passenger][:ruby_version]}-dev" +package "rubygems#{node[:passenger][:ruby_version]}" +package "irb#{node[:passenger][:ruby_version]}" + template "/usr/local/bin/passenger-ruby" do source "ruby.erb" owner "root"