我收到以下錯誤消息brew doctor
$ 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
我想這是因爲* -config模式是自制的用途和因爲文件的目錄在$ PATH。我仍然不知道如何解決這個問題。
$ PATH看起來像這樣(我已經重新格式化它,以便其更容易地看到):
/Users/username/.rbenv/shims
/Users/username/.nvm/v0.9.8/bin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/sbin
/Users/username/bin
我已經安裝了通過BREW rbenv。
是'/用戶/用戶名/ .rbenv /墊片/'在$ PATH? – CDub
是的。我已經更新了這個問題。 – ayckoster