I tried to execute 'cider-jack-in' from emacs without a Clojure project that I simply want to run Clojure REPL. But I've found that cider is trying to run /usr/local/bin/clojure
instead /usr/local/bin/lein
which don't refer my profiles.clj
for Leiningen settings. It's normally work with lein
when I try with a Clojure project.
I'm wondering there is any reason for that even there's no problem when I tried lein repl
without a Clojure project in terminal which I've expected Cider to do so, and a way for setting up to run Leiningen through Cider without a Clojure project.
I'll appreciate for any comments on this.
Try:
(setq cider-jack-in-default 'lein)