Skip to content

Commit 331020d

Browse files
committed
Add a note about manual nREPL upgrade
1 parent 7472317 commit 331020d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,20 @@ In the REPL buffer, issue the following.
10221022

10231023
This will cause cider to print extensive information on the REPL buffer when you try to debug an expression (e.g., with `C-u C-M-x`). [File an issue](https://github.com/clojure-emacs/cider-repl/issues/new) and copy this information.
10241024

1025+
### Warning saying you have to use nREPL 0.2.7+
1026+
1027+
CIDER currently requires at least nREPL 0.2.7 to work properly (there were some
1028+
nasty bugs in 0.2.6). Unfortunately the latest `leiningen` (2.5.1) pulls in exactly
1029+
0.2.6, so you if you're a lein user you'll have to do a bit of manual work. Just
1030+
add this to your `profiles.clj`:
1031+
1032+
```clojure
1033+
{:user {:dependencies [[org.clojure/tools.nrepl "0.2.10”]]}}
1034+
```
1035+
1036+
Generally you're advised to use the newest nREPL with CIDER, as bugs get fixed
1037+
in pretty much every release.
1038+
10251039
## Documentation
10261040
10271041
A single-page quick reference PDF for CIDER commands is available [here](doc/cider-refcard.pdf). This PDF can be created manually by running `pdflatex` on [the CIDER refcard LaTeX file](doc/cider-refcard.tex).

0 commit comments

Comments
 (0)