0

我已经用安装程序安装了 git 它工作得很好。我有 git 的命令行工具(见下文证明),但似乎当我运行 Boxen 时,一切都坏了。

有谁知道安装时boxen没有找到哪个git?我也尝试通过自制软件安装 git,但这也没有解决问题。Boxen 拒绝找到 git。

希望你能帮忙。

stefan.vermaas at macbook in ~
○ git --version
git version 2.4.3

stefan.vermaas at macbook in ~
○ which git
/usr/local/git/bin/git

stefan.vermaas at macbookx in ~
○ which git
/usr/local/heroku/bin:/usr/local/git/bin/git:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin

stefan.vermaas at macbook in /opt/boxen/repo on master
± ./script/boxen
--> Preparing to auto-update...
--> Complete! Nothing new from upstream.
Fact file /opt/boxen/repo/facts.d/example.yaml was parsed but returned an empty data set
Notice: Compiled catalog for macbook in environment production in 2.39 seconds
Error: Could not find command 'git'

我也尝试过像 Thorbjørn Ravn Andersen 建议的那样扩展路径,但它仍然在说:“错误:找不到命令 'git'”。

4

0 回答 0