diff options
| author | Mike McQuaid | 2014-01-23 11:30:36 -0800 | 
|---|---|---|
| committer | Mike McQuaid | 2014-01-23 11:30:36 -0800 | 
| commit | fcaf5a20eb786759c168b94f256edbdbe42d4134 (patch) | |
| tree | 994b57f90a240eb3f59c27f589e77cf12fd1cbb7 | |
| parent | ff5922d546ad4769b39c72a6fb640a9b83182bb5 (diff) | |
| download | homebrew-fcaf5a20eb786759c168b94f256edbdbe42d4134.tar.bz2 | |
Revert "nginx: use Homebrew passenger."
This reverts commit ff5922d546ad4769b39c72a6fb640a9b83182bb5.
| -rw-r--r-- | Library/Formula/nginx.rb | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index 54a5d838b..891ce81d8 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -27,13 +27,15 @@ class Nginx < Formula    skip_clean 'logs'    def passenger_config_args -    nginx_ext = `/usr/bin/ruby #{HOMEBREW_PREFIX}/opt/passenger/bin/passenger-config --nginx-addon-dir`.chomp +    nginx_ext = `passenger-config --nginx-addon-dir`.chomp      if File.directory?(nginx_ext)        return "--add-module=#{nginx_ext}"      end -    puts "Unable to install nginx with passenger support." +    puts "Unable to install nginx with passenger support. The passenger" +    puts "gem must be installed and passenger-config must be in your path" +    puts "in order to continue."      exit    end | 
