The problem is simple.
I use the following command to install Passenger
passenger-install-nginx-module
When Passenger automatically installs nginx, I can't launch it.
nginx -v
Returns there's no nginx installed.
How can I fix this?
The problem is simple.
I use the following command to install Passenger
passenger-install-nginx-module
When Passenger automatically installs nginx, I can't launch it.
nginx -v
Returns there's no nginx installed.
How can I fix this?
You need install Nginx. the webserver.
If you use passenger 3 in standalone, you just need launch passenger start
command
Notice that passenger-install-nginx-module asks you where to install Nginx to? The nginx binary is in there. Make sure the appropriate directory is in your $PATH. If you don't know what $PATH is or how to use it then you should read a book about basic Unix/Linux command line skills.
I solved this.
Actually, Passenger did install nginx, it just wasn't in the default category.
I recommend to tell passenger to install nginx in /usr/local/nginx