Take the 2-minute tour ×  I'm using nrepl.el, Emacs 24.2. My S.O
version is OS X Lion 10.7.5.  Running the command [M-x] nrepl
after start a REPL session through lein (:~ $ lein repl) i am
able to connect to it but if i try to use [M-x] nrepl-jack-in i
get the message bellow:  error in process sentinel: Could not
start nREPL server: /bin/bash: lein: command not found  I
installed leiningen using the instructions in the main site and
reinstalled it using homebrew with the command brew install
leiningen --devel but both methods give me the same error.
Adding the path /usr/loca/bin to emacs exec-path list or trying
to configure nrepl.el variable nrepl-lein-command to point to
the full path of my lein installation does not help.  My emacs
configuration can be found here: https://github.com/khaoz/emacs-
files  What i'm doing wrong ?  Thanks :)  share|improve this
question are you by chance on a Mac and staring emacs not from
the command line? –  Arthur Ulfeldt Nov 6 '12 at 1:22 no. I
start it from spotlight. –  Gi