Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eikes opened this issue Aug 12, 2021 · 5 comments

Comments

@eikes
Copy link

eikes commented Aug 12, 2021

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
Copy link
Contributor

CamJN commented Aug 12, 2021

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
Copy link
Contributor

CamJN commented Aug 12, 2021

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
Copy link
Author

eikes commented Aug 12, 2021

This is the page where I found this documentation:

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

@CamJN
Copy link
Contributor

CamJN commented Aug 12, 2021

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

@eikes
Copy link
Author

eikes commented Aug 17, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants