1

嗨,当我尝试运行 brew doctor 时,我收到很多警告

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
4

1 回答 1

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

但这并没有影响其他事情,因为现在我修复了关于 ruby​​ 和 ruby​​ gems 的原始问题

于 2013-11-01T17:04:27.110 回答