Skip to content

Commit b7fb01c

Browse files
committed
Extend the section on manually upgrading nREPL
1 parent 12d9061 commit b7fb01c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,9 +1037,17 @@ add this to your `profiles.clj`:
10371037
{:user {:dependencies [[org.clojure/tools.nrepl "0.2.10”]]}}
10381038
```
10391039
1040+
Make sure you add the newer nREPL dependency to the `:dependencies` key instead
1041+
of `:plugins` (where `cider-nrepl` Lein plugin resides). That's a pretty common
1042+
mistake.
1043+
10401044
Generally you're advised to use the newest nREPL with CIDER, as bugs get fixed
10411045
in pretty much every release.
10421046
1047+
Note, that running `cider-jack-in` from outside the scope of a project will
1048+
result in the **older (0.2.6) nREPL dependency being used** (at least on Leiningen
1049+
2.5.1). This is likely a Leiningen bug.
1050+
10431051
## Documentation
10441052
10451053
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)