【发布时间】:2014-06-07 19:27:08
【问题描述】:
运行brew install git后,我得到了这个输出:
The OS X keychain credential helper has been installed to:
~/.rvm/bin/git-credential-osxkeychain
The 'contrib' directory has been installed to:
~/.rvm/share/git-core/contrib
Bash completion has been installed to:
~/.rvm/etc/bash_completion.d
zsh completion has been installed to:
~/.rvm/share/zsh/site-functions
==> Summary
???? ~/.homebrew/Cellar/git/2.0.0: 1324 files, 31M, built in 46 seconds
这是预期的吗?为什么 brew 或 git 应该在 rvm (Ruby Version Manager) 下放置任何东西?
【问题讨论】:
-
查看git recipe,它会将内容安装到
#{HOMEBREW_PREFIX}。我绝不是专家,但我认为如果您提供brew --prefix和brew --repository的输出,这对任何可能的回答者都会有所帮助。 -
@MBlanc 你知道 brew 的默认前缀吗?我不确定它是如何设置为 .rvm 的,我想将其重新设置。
-
/usr/local/(github.com/Homebrew/homebrew/wiki)