Make sure required ruby is installed for passenger
[chef.git] / cookbooks / passenger / recipes / default.rb
index 6656ce338544a50b91ea9f243c083a8441d6acdc..d2254337037aee90088c8784fec1ca5b3d0bad92 100644 (file)
 
 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"