← all formulas
passenger
Server for Ruby, Python, and Node.js apps via Apache/NGINX
- Version
- v6.1.2
- License
- MIT
- Tap
- homebrew/core
- Bottle
- available
- Revision
- 4
bottledlicense declaredhomepageactivekeg-linked
Install
shell
$ brew install passengerCaveats
To activate Phusion Passenger for Nginx, run:
brew install nginx
And add the following to $HOMEBREW_PREFIX/etc/nginx/nginx.conf at the top scope (outside http{}):
load_module $HOMEBREW_PREFIX/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to $HOMEBREW_PREFIX/etc/nginx/nginx.conf in the http scope:
passenger_root $HOMEBREW_PREFIX/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;
To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
LoadModule passenger_module $HOMEBREW_PREFIX/opt/passenger/libexec/buildout/apache2/mod_passenger.so
PassengerRoot $HOMEBREW_PREFIX/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby