问题描述
我怎样才能找到错误的 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),399 (90 days),5,473 (365 days)
build-error: 0 (30 days)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)