From a09e3233db30a99a5640eea3a35919e8970f51aa Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 10 Feb 2014 18:49:01 +0000 Subject: [PATCH] Make sure required ruby is installed for passenger --- cookbooks/passenger/recipes/default.rb | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.39.5