Open victorbstan opened 2 years ago
Can you verify that the pcre headers are located at /opt/homebrew/include
as well as /opt/homebrew/opt/pcre/include
?
Also I'm not 100% sure if Nginx will pick up the headers on apple silicon, they don't look for them: https://github.com/nginx/nginx/blob/master/auto/lib/pcre/conf but i'll try.
9c708440 attempts to address this, let me know if it works (in 6.0.11).
I've just run into this issue on an Apple M2 running MacOS 13.1 when trying to run install and then run Passenger >= 6.0.20.
Currently cannot get past
Checking for PCRE2 development headers...
Found: no
Running brew install pcre2
did not help.
The files pcre2.h and pcre2posix.h are present at /opt/homebrew/include
I believe this is fixed by https://github.com/phusion/passenger/commit/86b26de4d1b71ea7a1bece2e62e452376bcd8b7a in the upcoming release.
Issue report
Question 1: What is the problem?
Running passenger local development computer, OSX Big Sur, M1: standalone passenger is installed, but it tries to install NgineX on first run of a rails app. Requirement specified as:
gem "passenger", ">= 5.3.2", require: "phusion_passenger/rack_handler"
in Gemfile.The installer fails the last check:
Question 4: Passenger installation method:
Your answer:
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Your answer: Bundler, Rails 6, ruby 3.0.1p64
Question 6: Are you using a PaaS and/or containerization? If so which one?
Your answer: No, local development machine Mac, M1 chip.