Skip to content

Commit 56b4fcc

Browse files
committed
Fix rvm_passenger::apache2 bug where attr was missing.
1 parent 4845d7c commit 56b4fcc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎recipes/apache2.rb‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
end
4646

4747
execute "passenger_apache2_module" do
48-
command "#{node[:ruby_enterprise][:install_path]}/bin/passenger-install-apache2-module -a"
48+
command %Q{
49+
rvm #{node[:rvm_passenger][:rvm_ruby]} exec \
50+
passenger-install-apache2-module -a
51+
}
4952
creates node[:rvm_passenger][:module_path]
5053
end
5154

0 commit comments

Comments
 (0)