问题
I've installed CIDER 0.7.0 and now when I start it inside of Emacs (via M-x cider-jack-in RET), I get the following warning:
WARNING: CIDER's version (0.7.0) does not match cider-nrepl's version (not installed)
I've downloaded cider-nrepl and found out that it consists of closure code, not emacs lisp code. Since I've started exploring Clojure world just today, and there is no installation instructions on the project page, could you tell me how can I install cider-nrepl?
回答1:
You need to put it into lein project.clj or into global lein configuration. Excerpt from official documentation:
Use the convenient plugin for defaults, either in your project's project.clj file or in the :user profile in ~/.lein/profiles.clj.
:plugins [[cider/cider-nrepl "0.7.0"]]
A minimal profiles.clj for CIDER would be:
{:user {:plugins [[cider/cider-nrepl "0.7.0"]]}}
来源:https://stackoverflow.com/questions/25399136/installation-of-cider-nrepl