嗨,当我尝试运行brew医生时,我收到了很多警告
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
python
Warning: You are using Mac OS X 10.9.
We do not yet provide support for this (unreleased) version.
Warning: You have uncommitted modifications to Homebrew
If this a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
cd /usr/local/Library && git stash && git clean -d -f
Error: Homebrew doesn't know what compiler versions ship with your version
of Xcode (5.0.1). Please `brew update` and if that doesn't help, file
an issue with the output of `brew --config`:
https://github.com/mxcl/homebrew/issues
Thanks!
Warning: You have a curlrc file
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
curl http://github.com
我试图修复并搜索解决方案,但没有解决。 我认为所有这些警告都是在更新到osx 10.9之后发生的。
任何人都有这些问题
我得到的brew更新
error: pathspec 'master' did not match any file(s) known to git.
Error: Failure while executing: git checkout -q master
答案 0 :(得分:2)
感谢@ShivanRaptor建议卸载&重新安装brew,再次安装后,一切正常。
除了这一个
之外,所有警告都消失了Warning: You have a curl
rc file
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
curl http://github.com
但这并没有影响其他事情,因为现在我修复了关于红宝石和红宝石宝石的原始问题