nginx: Fix passenger caveat after upstream change

The locations.ini file changed location in Homebrew/homebrew#44333, this corrects the nginx caveat to show the current path. Existing installations of nginx using passenger will fail to start passenger until this change in nginx.conf is made.

Closes Homebrew/homebrew#44465.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Bas Hintemann 2015-09-30 10:34:25 +02:00 committed by Dominyk Tiller
parent dbdadb0585
commit 9ddc9e88d8

View file

@ -137,7 +137,7 @@ class Nginx < Formula
def passenger_caveats; <<-EOS.undent
To activate Phusion Passenger, add this to #{etc}/nginx/nginx.conf, inside the 'http' context:
passenger_root #{Formula["passenger"].opt_libexec}/lib/phusion_passenger/locations.ini;
passenger_root #{Formula["passenger"].opt_libexec}/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;
EOS
end