aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorHongli Lai (Phusion)2013-10-21 18:57:39 +0200
committerMike McQuaid2013-10-21 18:26:02 +0100
commit9d27bda74e836bb019d59ff978109e17491aa7d1 (patch)
treed321676ab03d07f8bc44e9db3ac8e42daaefb3fb /Library/Formula
parenta4949cd2db9f79df9adb542e72e22d33aa813952 (diff)
downloadhomebrew-9d27bda74e836bb019d59ff978109e17491aa7d1.tar.bz2
Fix apache and nginx passenger integration.
It was broken by the recent 'libexec' change in the 'passenger' recipe. Closes #23419. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nginx.rb2
-rw-r--r--Library/Formula/passenger.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 21dd94524..a65f0eb37 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -125,7 +125,7 @@ class Nginx < Formula
def passenger_caveats; <<-EOS.undent
To activate Phusion Passenger, add this to #{etc}/nginx/nginx.conf:
- passenger_root #{HOMEBREW_PREFIX}/opt/passenger
+ passenger_root #{HOMEBREW_PREFIX}/opt/passenger/libexec
passenger_ruby /usr/bin/ruby
EOS
end
diff --git a/Library/Formula/passenger.rb b/Library/Formula/passenger.rb
index b156e8761..e4bff170b 100644
--- a/Library/Formula/passenger.rb
+++ b/Library/Formula/passenger.rb
@@ -37,7 +37,7 @@ class Passenger < Formula
def caveats; <<-EOS.undent
To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
LoadModule passenger_module #{opt_prefix}/libexec/buildout/apache2/mod_passenger.so
- PassengerRoot #{opt_prefix}/libexec/
+ PassengerRoot #{opt_prefix}/libexec
PassengerDefaultRuby /usr/bin/ruby
To activate Phusion Passenger for Nginx, run: