I'm trying to install Yeoman.io and part of it requires Homebrew to be installed. I am on Mountain Lion (10.8) and things seemed to install correctly except when I run $ homebrew doctor
it complains with the following message:
Warning: Homebrew's sbin was not found in your path.
Consider amending your PATH variable so it contains:
/usr/local/sbin
Here is what my ~/.bashrc looks like:
#PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
setenv PATH=/usr/bin:/usr/local/bin:/opt/local/sbin:$HOME/.rvm/bin:$PATH
and my .bash_profile looks like:
[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
I use RVM so it's written in its own stuff in case that affects the homebrew installation.
Best Answer
Your path (as shown) doesn't contain
/usr/local/sbin
. Add that in the line where you set the path. Also, bash doesn't usesetenv
; just usePATH=...
.