I get the following error message with 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
I think this is because of the *-config pattern that homebrew uses and because the directory of the file is in $PATH. Still I do not know how to fix this.
$PATH looks like this (I have reformatted it so its easier to see):
/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
I have installed rbenv via brew.