【发布时间】:2014-05-30 20:00:09
【问题描述】:
我今天安装了 Homebrew,并按照应用程序的建议运行
brew doctor
我收到了这个警告:
Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
/Users/MyUsername/
谷歌搜索后,我打开了
vi ~/.bash_profile
从终端并手动删除我的用户名后的“/”。所以现在我的 .bash_profile 看起来像这样:
export PATH=$PATH:/Users/MyUsername
export PATH=/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/MyUsername
然后我重新输入提示并得到相同的警告。我该如何解决?
【问题讨论】:
标签: installation homebrew