echo $PATH doesn't match .bash_profile

后端 未结 2 2031
悲&欢浪女
悲&欢浪女 2021-01-18 23:43

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

相关标签:
2条回答
  • 2021-01-19 00:17

    in your .bash_profile, you can simply do:

    export PATH="$PATH:/usr/local/sbin"
    
    0 讨论(0)
  • 2021-01-19 00:39

    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.

    0 讨论(0)
提交回复
热议问题