macos-big-sur - 多乘客装置
问题描述
我怎样才能找到哪个passenger
安装不好并删除它? Passenger
故障排除导致多个安装的警告,但反馈以某种方式将它们集成在一起。上的最新版本Big-Sur
。
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 6.0.7, located in:
/opt/homebrew/Cellar/passenger/6.0.7_5/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).
~ ❯ which passenger
/opt/homebrew/bin/passenger
~ ❯ passenger -v
Phusion Passenger 6.0.7
~ ❯ brew info passenger
passenger: stable 6.0.7 (bottled), HEAD
Server for Ruby, Python, and Node.js apps via Apache/NGINX
https://www.phusionpassenger.com/
/opt/homebrew/Cellar/passenger/6.0.7_5 (4,567 files, 288.6MB) *
Poured from bottle on 2021-03-30 at 12:55:05
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: 593 (30 days), 1,494 (90 days), 6,255 (365 days)
install-on-request: 548 (30 days), 1,399 (90 days), 5,473 (365 days)
build-error: 0 (30 days)
解决方案
推荐阅读
- php - Laravel Auth::user() always null
- json - How do I parse JSON key pair values in BigQuery?
- java - i see grey code in android studio. What is grey code mean?
- python - Docx file corrupted when adding an image with python docx
- javascript - How to save data from a planner in real time database using javascript?
- docker - docker-compose up -d send disconnect: Broken pipe
- amazon-web-services - Sync two different s3 buckets on different accounts on an ec2 instance
- python - 为什么 django 抛出完整性错误?
- jquery - 使用 jquery 将悬停标题添加到选项卡图像库
- java - 使用 Gmail Java API 更改 Gmail 中的默认签名