pyenvを入れてからbrew doctorでwarningが出たので、
Homebrewを使っていてbrew doctorをやるとwarningが出た。
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.
Googleで検索してなくす方法を調べると、
こちらのページでなくす方法を書いてあったので早速同様にしたら消えた。
python3をHomebrewでインストールして、.pyenvの設定ファイルが〜に関するWarningだったので、そっくりそのままやってOKでした。
.bash_profileに
alias brew="env PATH=${PATH/\/Users\/ユーザー名\/\.pyenv\/shims:/} brew"
を追加。そして.bash_prifileに書いてあった
export PYENV_ROOT="${HOME}/.pyenv"
を削除。
brew doctorをすると「Your system is ready to brew.」と表示された。