"clojure可执行文件不在您的"exec-path"上".即使lein在我的exec路径(macOS)上 [英] "The clojure executable isn’t on your ‘exec-path’" even though lein is on my exec-path (macOS)
本文介绍了"clojure可执行文件不在您的"exec-path"上".即使lein在我的exec路径(macOS)上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下 exec-path
(根据 describe-variable
):
("/usr/local/bin/" "/usr/bin/" "/bin/" "/usr/sbin/" "/sbin/" "/usr/local/Cellar/emacs-plus/25.3/libexec/emacs/25.3/x86_64-apple-darwin16.7.0/")
这是 lein
可执行文件路径:
/usr/local/bin/lein
这是我运行 cider-jack-in
时发生的事情:
This is what happens when I run cider-jack-in
:
The clojure executable isn’t on your ‘exec-path’
有什么作用?
(<苹果> lein-command 是<苹果> )
推荐答案
(来自评论)
好像苹果酒在寻找clojure命令,而不是lein命令."clojure"是新cli工具引入的可执行文件:
Looks like cider is looking for the clojure command, not the lein command. "clojure" is an executable that was introduced with the new cli tool:
https://clojure.org/guides/deps_and_cli
这篇关于"clojure可执行文件不在您的"exec-path"上".即使lein在我的exec路径(macOS)上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文