Skip to content

Commit

Permalink
Updated to a version of passenger that doesn't yet exist (waiting for…
Browse files Browse the repository at this point in the history
… master to be updated) and rearranged recommended packages to be installed straight up
  • Loading branch information
benschwarz committed Apr 17, 2009
1 parent 77e5c6f commit 0207055
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/stack/apache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
end

requires :build_essential
recommends :apache_etag_support, :apache_deflate_support, :apache_expires_support
end

package :apache2_prefork_dev do
Expand All @@ -18,8 +19,8 @@

package :passenger, :provides => :appserver do
description 'Phusion Passenger (mod_rails)'
version '2.1.3'
gem 'passenger' do
version '2.2.1'
gem 'passenger', :version => version do
post :install, 'echo -en "\n\n\n\n" | sudo passenger-install-apache2-module'

# Create the passenger conf file
Expand Down Expand Up @@ -60,7 +61,6 @@

push_text config, apache_conf, :sudo => true
verify { file_contains apache_conf, "Passenger-stack-etags"}
requires :apache
end

# mod_deflate, compress scripts before serving.
Expand All @@ -80,7 +80,6 @@

push_text config, apache_conf, :sudo => true
verify { file_contains apache_conf, "Passenger-stack-deflate"}
requires :apache
end

# mod_expires, add long expiry headers to css, js and image files
Expand All @@ -99,5 +98,4 @@

push_text config, apache_conf, :sudo => true
verify { file_contains apache_conf, "Passenger-stack-expires"}
requires :apache
end

0 comments on commit 0207055

Please sign in to comment.