When installing passenger on a freshly installed Ubuntu 16.04 machine using this tutorial, the installation fails because there is no file /etc/nginx/passenger.conf
Should I create this file manually or is this a bug in the install script?
When installing passenger on a freshly installed Ubuntu 16.04 machine using this tutorial, the installation fails because there is no file /etc/nginx/passenger.conf
Should I create this file manually or is this a bug in the install script?
I found workaround for that issue. You need to login as root (sudo does not work for some reason). That purge all existing installations of nginx&passenger and their configs (make sure that you made a BACKUP of any nginx configs you made):
apt-get purge nginx* passenger
apt-get autoremove
rm -rf /etc/nginx
Then, when you repeat install steps from documentation - it will work. It's some sudo related issue.