phusion / passenger_library

Phusion Passenger documentation
https://www.phusionpassenger.com/docs
Other
48 stars 113 forks source link

Installation on MacOS with nginx not possible with homebrew: invalid option --with-passenger #109

Open eikes opened 3 years ago

eikes commented 3 years ago

In this file:

passenger_library/source/install/install/step3.html.erb

it says brew install nginx --with-passenger to install nginx with precompiled passenger. But the homebrew formula for nginx does not support this flag and brew returns:

Error: invalid option: --with-passenger
CamJN commented 3 years ago

Yeah, the nginx module is now part of the passenger formula because homebrew removed all options from the built in formulae, I need to update the docs to say brew install nginx passenger will get you both nginx and passenger, and passenger comes with the nginx module.

CamJN commented 3 years ago

Hmm, it seems that passenger_library/source/install/install/step3.html.erb is not part of the most up to date docs at https://www.phusionpassenger.com/docs/tutorials/deploy_to_production/installations/oss/ownserver/ruby/nginx/. As you can see: https://github.com/phusion/passenger_library/tree/docs_2018/source/install/install/shared that file isn't used anymore.

eikes commented 3 years ago

This is the page where I found this documentation:

https://www.phusionpassenger.com/library/install/nginx/install/oss/osx/

CamJN commented 3 years ago

Yup, you'll see the notice at the top of the page noting that the new docs are at a different URL

eikes commented 3 years ago

I did eventually see that. My question is then why is there outdated documentation available? It seems this flag has not been available for years. But that is the page you get when you google for nginx passenger macos.