Reputation: 147
I'm attempting to install homebrew on Mountain Lion so that I can install Ruby 1.9.3. After years of programming only PHP, 'm finally taking the jump into Rails, Git, etc. In anycase, I'm on a laptop that was given to me. Therefore, my login account is not the original account. I think that might be causing the problem I'm having.
When running brew doctor I get the following:
Warning: Homebrew's sbin was not found in your path. Consider amending your PATH variable so it contains: /usr/local/sbin
When running echo $PATH I get the following:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/Users/chadimoglou/.rvm/bin
There is no .profile in my home directory. There is a .bash_profile. It looks like this
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function
Any help for this terminal noob is much appreciated.
Upvotes: 6
Views: 7637
Reputation: 1
You can manually edit your $PATH
and /bin
. This guide was not too terrible it helped me understand the entire concept of $PATH /bin
and being a sudoer.
Upvotes: 0
Reputation: 3549
in your .bash_profile, you can simply do:
export PATH="$PATH:/usr/local/sbin"
Upvotes: 8