ruby - Homebrew - Correcting warning after running Brew Doctor - Altering Path (/user/bin) issue -


context

  • i'm getting error, when running brew doctor command in terminal after installing homebrew(https://github.com/mxcl/homebrew):

    enter image description here

  • to fix issue i'm following instructions here : how modify path homebrew?

  • when type in sudo vi /etc/paths terminal (i'm on root), way part of answer given in stackoverflow question reference above, this:

enter image description here

  • when quit terminal , type in brew docotor still same warning.

questions

  • main question: doing wrong?
  • ancillary question: why in terminal not have ability type after running command?
  • ancillary question: why there white space , ~ characters after running command?

running command:

echo 'export path="/usr/local/bin:/usr/local/sbin:~/bin:$path"' >> ~/.bash_profile

fixed issue me. found @ website: http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/ via how modify path homebrew?


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -