私用で使っているMac book proにて、brew doctorで以下の警告が出たため解決しようと奮闘しております!
lang
1$ brew doctor 2 3Please note that these warnings are just used to help the Homebrew maintainers 4with debugging if you file an issue. If everything you use Homebrew for is 5working fine: please don't worry and just ignore them. Thanks! 6 7Warning: "config" scripts exist outside your system or Homebrew directories. 8`./configure` scripts often look for *-config scripts to determine if 9software packages are installed, and what additional flags to use when 10compiling and linking. 11 12Having additional scripts in your path can confuse software installed via 13Homebrew if the config script overrides a system or Homebrew provided 14script of the same name. We found the following "config" scripts: 15 16 /Applications/MAMP/bin/php/php5.5.10/bin/php-config
.bash_profileに以下のコードを追加しました。
lang
1alias brew="env PATH=${PATH/\/Applications\/MAMP\/bin\/php\/php5.5.10\/bin/php-config} brew"
その後、$ source .bash_profileして再度brew doctorでも同じ警告が出てしまいまして困っております。
解決方法をご教授頂けましたら本当に幸いです!何卒よろしくお願い致します。
追記:PATHは現在下記のように重複してしまっております。
lang
1$ echo $PATH 2/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/Users/ユーザー名/.rbenv/shims:/usr/local/heroku/bin:/sw/bin:/sw/sbin:/Users/ユーザー名/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/MAMP/bin/php/php5.5.10/bin:/Applications/MAMP/bin/php/php5.5.10/bin:/Applications/MAMP/bin/php/php5.5.10/bin:/Applications/MAMP/bin/php/php5.5.10/bin:/Applications/MAMP/bin/php/php5.5.10/bin:/Applications/MAMP/bin/php/php5.5.10/bin:/Applications/MAMP/bin/php/php5.5.10/bin:/Applications/MAMP/bin/php/php5.5.10/bin 3
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。