【问题标题】:Brew install git putting files in .rvmBrew install git 将文件放入 .rvm
【发布时间】: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 --prefixbrew --repository 的输出,这对任何可能的回答者都会有所帮助。
  • @MBlanc 你知道 brew 的默认前缀吗?我不确定它是如何设置为 .rvm 的,我想将其重新设置。

标签: git rvm homebrew


【解决方案1】:

正如@MBlanc 指出的那样,

$ brew --prefix
~/.rvm

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-12-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-28
    • 2018-03-06
    • 2021-07-13
    相关资源
    最近更新 更多