Skip to content

Instantly share code, notes, and snippets.

@sacharv
sacharv / gist:3b26d77c16ae1d8518b3
Created June 2, 2014 11:11
nginx + passenger + foreman 1.5
passenger+nginx (SL6 + SCL)
set correct path for SCL ruby:
export PATH=/opt/rh/ruby193/root/usr/bin:$PATH
export LD_LIBRARY_PATH=/opt/rh/ruby193/root/usr/lib64:$LD_LIBRARY_PATH
download latest phusion passenger tarbal (I wrongly put it in /usr/local/src, so that is where the libs are now)
./bin/passenger-install-nginx-module
follow all default steps (have script download and compile nginx)