我已经使用installer安装了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ørnRavnAndersen所建议的那样扩展路径,但它仍然说:“错误:找不到命令'git'”。