generators/vulcanize/templates/passenger/config/rubber/deploy-passenger.rb in axtro-rubber-1.0.2.8 vs generators/vulcanize/templates/passenger/config/rubber/deploy-passenger.rb in axtro-rubber-1.2.0
- old
+ new
@@ -7,10 +7,10 @@
after "rubber:install_gems", "rubber:passenger:custom_install"
task :custom_install, :roles => :passenger do
rubber.sudo_script 'install_passenger', <<-ENDSCRIPT
- if [[ -z `ls /usr/lib/ruby/gems/*/gems/passenger-#{rubber_env.passenger_version}/ext/apache2/mod_passenger.so 2> /dev/null` ]]; then
+ if [[ -z `ls #{rubber_env.passenger_lib} 2> /dev/null` ]]; then
echo -en "\n\n\n\n" | passenger-install-apache2-module
fi
ENDSCRIPT
end