`brew doctor` 显示警告:“config”脚本存在于您的系统或 Homebrew 目录之外

`brew doctor` 显示警告:“config”脚本存在于您的系统或 Homebrew 目录之外

当我使用时brew doctor,出现以下错误。

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:

    /Users/${username}/.rbenv/shims/passenger-config

该配置文件似乎与 ruby​​ 相关,而不是 homebrew。

我该怎么做才能消除这个错误?

答案1

StackOverflow 问题中的答案我怎样才能阻止 homebrew 抱怨 $PATH 中的 *-config 文件?

本质是

相关内容