我正在使用nrepl.el和Emacs 24.2。我的操作系统版本是OS X Lion 10.7.5。
在通过lein(:~ $ lein repl)
启动REPL会话后,运行命令[M-x] nrepl
,我可以连接到它,但是如果我尝试使用[M-x] nrepl-jack-in
,我会收到以下消息:
error in process sentinel: Could not start nREPL server: /bin/bash: lein: command not found
我按照主站点的说明安装了leiningen,并使用命令brew install leiningen --devel
使用homebrew重新安装了它,但两种方法都给我同样的错误。
将路径/usr/local/bin
添加到emacs的exec-path
列表或尝试配置nrepl.el
变量nrepl-lein-command
指向我的lein安装的完整路径都不起作用。
我的emacs配置可以在这里找到:https://github.com/khaoz/emacs-files
我做错了什么?
谢谢:)