passenger: MacOS 12.01 Monterey Apple Silicon M1 Mini Errors
Issue report
Fill in as much as possible so that we can understand, find and fix the problem.
Are you sure this is a bug in Passenger?
I’ve checked the directives I’ve been given for the .so and .ini files and they are correct. The nature of the error tells me this is a Passenger error. I’ve restarted the machine, restarted nginx, and all this started after an update to both homebrew and gems while trying different versions of Ruby, currently set to 2.7.4 (see the reports).
Please try with the newest version of Passenger to avoid issues that have already been fixed Currently 6.0.11_1
Question 1: What is the problem?
Errors and no website. Expected website. I get a Passenger error:
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/forwardable/version.rb:3: warning: already initialized constant Forwardable::VERSION
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/forwardable-1.3.2/lib/forwardable.rb:115: warning: previous definition of VERSION was here
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/forwardable/version.rb:4: warning: already initialized constant Forwardable::FORWARDABLE_VERSION
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/forwardable-1.3.2/lib/forwardable.rb:116: warning: previous definition of FORWARDABLE_VERSION was here
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/arm64-darwin21/strscan.bundle: warning: already initialized constant StringScanner::Version
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/arm64-darwin21/strscan.bundle: warning: already initialized constant StringScanner::Id
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:105: warning: already initialized constant FileUtils::VERSION
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:105: warning: previous definition of VERSION was here
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1284: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1269: warning: previous definition of S_IF_DOOR was here
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1569: warning: already initialized constant FileUtils::Entry_::DIRECTORY_TERM
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1557: warning: previous definition of DIRECTORY_TERM was here
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1627: warning: already initialized constant FileUtils::OPT_TABLE
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1615: warning: previous definition of OPT_TABLE was here
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1686: warning: already initialized constant FileUtils::LOW_METHODS
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1674: warning: previous definition of LOW_METHODS was here
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1693: warning: already initialized constant FileUtils::METHODS
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1681: warning: previous definition of METHODS was here
App 2959 output: Error: The application encountered the following error: superclass mismatch for class StringIO (TypeError)
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl/config.rb:14:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl/config.rb:14:in `<top (required)>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl.rb:18:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl.rb:18:in `<top (required)>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/cookie.rb:3:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/cookie.rb:3:in `<top (required)>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1809:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1809:in `<class:Base>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:909:in `<module:Sinatra>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:22:in `<top (required)>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/main.rb:26:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/main.rb:26:in `<module:Sinatra>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/main.rb:1:in `<top (required)>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra.rb:1:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra.rb:1:in `<top (required)>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:60:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:55:in `each'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:55:in `block in require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:44:in `each'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:44:in `require'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler.rb:175:in `require'
App 2959 output: /Users/rich/Sites/HQ/app.rb:4:in `<top (required)>'
App 2959 output: config.ru:4:in `require'
App 2959 output: config.ru:4:in `block in <main>'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
App 2959 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
App 2959 output: config.ru:1:in `new'
App 2959 output: config.ru:1:in `<main>'
App 2959 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:101:in `eval'
App 2959 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
App 2959 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
App 2959 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:390:in `run_block_and_record_step_progress'
App 2959 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
App 2959 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
App 2959 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:29:in `<main>'
[ E 2021-11-10 16:04:27.7195 2408/T1b age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /Users/rich/Sites/HQ: The application encountered the following error: superclass mismatch for class StringIO (TypeError)
Error ID: 9ee0768d
Error details saved to: /var/folders/_k/t5tdgpd93_d6vstpk4678lhh0000gn/T//passenger-error-wCipNP.html
[ E 2021-11-10 16:04:27.7354 2408/Tg age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 5-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 9ee0768d. Please see earlier logs for details about the error.
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/forwardable/version.rb:3: warning: already initialized constant Forwardable::VERSION
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/forwardable-1.3.2/lib/forwardable.rb:115: warning: previous definition of VERSION was here
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/forwardable/version.rb:4: warning: already initialized constant Forwardable::FORWARDABLE_VERSION
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/forwardable-1.3.2/lib/forwardable.rb:116: warning: previous definition of FORWARDABLE_VERSION was here
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/arm64-darwin21/strscan.bundle: warning: already initialized constant StringScanner::Version
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/arm64-darwin21/strscan.bundle: warning: already initialized constant StringScanner::Id
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:105: warning: already initialized constant FileUtils::VERSION
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:105: warning: previous definition of VERSION was here
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1284: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1269: warning: previous definition of S_IF_DOOR was here
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1569: warning: already initialized constant FileUtils::Entry_::DIRECTORY_TERM
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1557: warning: previous definition of DIRECTORY_TERM was here
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1627: warning: already initialized constant FileUtils::OPT_TABLE
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1615: warning: previous definition of OPT_TABLE was here
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1686: warning: already initialized constant FileUtils::LOW_METHODS
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1674: warning: previous definition of LOW_METHODS was here
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/fileutils.rb:1693: warning: already initialized constant FileUtils::METHODS
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:1681: warning: previous definition of METHODS was here
App 3040 output: Error: The application encountered the following error: superclass mismatch for class StringIO (TypeError)
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl/config.rb:14:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl/config.rb:14:in `<top (required)>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl.rb:18:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/2.7.0/openssl.rb:18:in `<top (required)>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/cookie.rb:3:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/cookie.rb:3:in `<top (required)>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1809:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1809:in `<class:Base>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:909:in `<module:Sinatra>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:22:in `<top (required)>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/main.rb:26:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/main.rb:26:in `<module:Sinatra>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/main.rb:1:in `<top (required)>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra.rb:1:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra.rb:1:in `<top (required)>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:60:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:55:in `each'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:55:in `block in require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:44:in `each'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler/runtime.rb:44:in `require'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.2.30/lib/bundler.rb:175:in `require'
App 3040 output: /Users/rich/Sites/HQ/app.rb:4:in `<top (required)>'
App 3040 output: config.ru:4:in `require'
App 3040 output: config.ru:4:in `block in <main>'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
App 3040 output: /Users/rich/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
App 3040 output: config.ru:1:in `new'
App 3040 output: config.ru:1:in `<main>'
App 3040 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:101:in `eval'
App 3040 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
App 3040 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
App 3040 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:390:in `run_block_and_record_step_progress'
App 3040 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
App 3040 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
App 3040 output: /opt/homebrew/Cellar/passenger/6.0.11_1/libexec/src/helper-scripts/rack-preloader.rb:29:in `<main>'
[ E 2021-11-10 16:04:28.4077 2408/T1g age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /Users/rich/Sites/HQ: The application encountered the following error: superclass mismatch for class StringIO (TypeError)
Error ID: c461095f
Error details saved to: /var/folders/_k/t5tdgpd93_d6vstpk4678lhh0000gn/T//passenger-error-4Ctr7z.html
[ E 2021-11-10 16:04:28.4219 2408/Tj age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 6-1] Cannot checkout session because a spawning error occurred. The identifier of the error is c461095f. Please see earlier logs for details about the error.
Some passenger info from a script I wrote:
[H[2JRF: Passenger Standalone Info
_____ Passenger Installation Test: _____
* Checking whether this Passenger install is in PATH... ✓
* Checking whether there are no other Passenger installations... (!)
You are currently validating against Phusion Passenger(R) 6.0.11, located in:
/opt/homebrew/Cellar/passenger/6.0.11_1/libexec/bin/passenger
Besides this Passenger installation, the following other
Passenger installations have also been detected:
/opt/homebrew/bin/passenger
Please uninstall these other Passenger installations to avoid
confusion or conflicts.
Detected 0 error(s), 1 warning(s).
_____ Passenger Stats: _____
Version: 6.0.11
Date : 2021-11-10 16:30:28 -0500
-------- Apache processes --------
----------- Nginx processes ------------
PID PPID VMSize Resident Name
----------------------------------------
2401 1 399215.2 MB 1.1 MB nginx: master process /opt/homebrew/opt/nginx/bin/nginx -g daemon off;
2410 2401 399352.0 MB 0.4 MB nginx: worker process
2411 2401 399352.0 MB 0.4 MB nginx: worker process
2412 2401 399223.0 MB 0.4 MB nginx: worker process
2413 2401 399360.0 MB 0.4 MB nginx: worker process
2414 2401 399351.0 MB 0.4 MB nginx: worker process
2415 2401 399632.0 MB 0.4 MB nginx: worker process
2416 2401 399488.0 MB 0.4 MB nginx: worker process
2417 2401 399488.0 MB 0.4 MB nginx: worker process
------ Passenger processes -------
PID VMSize Resident Name
----------------------------------
2405 399091.7 MB 3.2 MB Passenger watchdog
2408 399950.5 MB 7.9 MB Passenger core
_____ brew info nginx --with-passenger _____
nginx: stable 1.21.4 (bottled), HEAD
HTTP(S) server and reverse proxy, and IMAP/POP3 proxy server
https://nginx.org/
/opt/homebrew/Cellar/nginx/1.21.3 (3 files, 675.5KB)
Built from source
/opt/homebrew/Cellar/nginx/1.21.4 (26 files, 2.2MB) *
Poured from bottle on 2021-11-09 at 14:20:43
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/nginx.rb
License: BSD-2-Clause
==> Dependencies
Required: openssl@1.1, pcre
==> Options
--HEAD
Install HEAD version
==> Caveats
Docroot is: /opt/homebrew/var/www
The default port has been set in /opt/homebrew/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.
nginx will load all files in /opt/homebrew/etc/nginx/servers/.
To restart nginx after an upgrade:
brew services restart nginx
Or, if you don't want/need a background service you can just run:
/opt/homebrew/opt/nginx/bin/nginx -g daemon off;
==> Analytics
install: 45,562 (30 days), 127,767 (90 days), 513,605 (365 days)
install-on-request: 45,458 (30 days), 127,438 (90 days), 511,982 (365 days)
build-error: 21 (30 days)
_____ brew info passenger _____
passenger: stable 6.0.11 (bottled), HEAD
Server for Ruby, Python, and Node.js apps via Apache/NGINX
https://www.phusionpassenger.com/
/opt/homebrew/Cellar/passenger/6.0.11_1 (4,973 files, 247.7MB) *
Poured from bottle on 2021-11-10 at 16:27:07
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/passenger.rb
License: MIT
==> Dependencies
Build: nginx
Required: openssl@1.1, pcre
==> Options
--HEAD
Install HEAD version
==> Caveats
To activate Phusion Passenger for Nginx, run:
brew install nginx
And add the following to /opt/homebrew/etc/nginx/nginx.conf at the top scope (outside http{}):
load_module /opt/homebrew/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to /opt/homebrew/etc/nginx/nginx.conf in the http scope:
passenger_root /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;
To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
LoadModule passenger_module /opt/homebrew/opt/passenger/libexec/buildout/apache2/mod_passenger.so
PassengerRoot /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
==> Analytics
install: 662 (30 days), 1,595 (90 days), 6,535 (365 days)
install-on-request: 623 (30 days), 1,504 (90 days), 6,044 (365 days)
build-error: 0 (30 days)
_____ Ruby Info (programming language): _____
/Users/rich/.rbenv/shims/ruby
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [arm64-darwin21]
_____ nginx version: _____
_____ OS Version: _____
ProductName: macOS
ProductVersion: 12.0.1
BuildVersion: 21A559
Software:
System Software Overview:
System Version: macOS 12.0.1 (21A559)
Kernel Version: Darwin 21.1.0
Boot Volume: Primer
Boot Mode: Normal
Computer Name: HQ3
User Name: Rich (rich)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 7 days 3:32
Passenger installation method:
[ X ] OS X Homebrew
**Question 6: Are you using a PaaS and/or containerization? If so which one?**
No
Question 7: Anything else about your setup that we should know?
Your answer: This happened from a recent update to passenger, nginx through gems and homebrew update. Not sure I have much else that I can report.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 45 (16 by maintainers)
Is the double lib prefix just a typo in your comment here?