Skip to content

Commit

Permalink
passenger 4.0.35
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
FooBarWidget authored and MikeMcQuaid committed Jan 23, 2014
1 parent c87956c commit ce1ab08
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Library/Formula/passenger.rb
Expand Up @@ -2,15 +2,17 @@

class Passenger < Formula
homepage 'https://www.phusionpassenger.com/'
url 'http://s3.amazonaws.com/phusion-passenger/releases/passenger-4.0.33.tar.gz'
sha1 'b82ef1f51eab692ea0422028ced210c65d192083'
url 'http://s3.amazonaws.com/phusion-passenger/releases/passenger-4.0.35.tar.gz'
sha1 '78bb92f51035b574d59bb292f198864f7d63a86c'
head 'https://github.com/phusion/passenger.git'

depends_on 'pcre'
depends_on :macos => :lion

def install
rake "apache2"
rake "nginx"
rake "webhelper"

necessary_files = Dir["configure", "Rakefile", "README.md", "CONTRIBUTORS",
"CONTRIBUTING.md", "LICENSE", "INSTALL.md", "NEWS", "passenger.gemspec",
Expand All @@ -28,8 +30,8 @@ def install

# Ensure that the Phusion Passenger commands can always find their library
# files.
locations_ini = `/usr/bin/ruby ./bin/passenger-config --make-locations-ini`
locations_ini.gsub!(/=#{Regexp.compile Dir.pwd}\//, "=#{libexec}/")
locations_ini = `/usr/bin/ruby ./bin/passenger-config --make-locations-ini --for-native-packaging-method=homebrew`
locations_ini.gsub!(/=#{Regexp.escape Dir.pwd}/, "=#{libexec}")
(libexec/"lib/phusion_passenger/locations.ini").write(locations_ini)
system "/usr/bin/ruby", "./dev/install_scripts_bootstrap_code.rb",
"--ruby", libexec/"lib", *Dir[libexec/"bin/*"]
Expand Down

0 comments on commit ce1ab08

Please sign in to comment.