summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBenedek Fazekas <benedek.fazekas@gmail.com>2016-02-20 18:28:56 +0000
committerBenedek Fazekas <benedek.fazekas@gmail.com>2016-02-20 18:28:56 +0000
commit492e0fa8b3768ad07de7ec9df636c2bac90301e0 (patch)
tree730e9b9a26c9caa79e21c53c78d28bba051f99f7 /README.md
parentf05736d74af5b32ba88b9881d4bc88e21d18aa26 (diff)
[Fix #1573] Add to Caveat/Troubleshooting sections
- Caveat on injecting dependencies and Leiningen `:pedantic? :abort` - Troubleshooting if CIDER dependencies were set in the `:user` profile so injecting fails to override them
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index fd0a92ba..933820b1 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,7 @@ specific CIDER release.**
- [Microsoft Windows](#microsoft-windows)
- [powershell.el](#powershell-el)
- [ClojureCLR support](#clojureclr-support)
+ - [Injecting dependencies and Leiningen pedantic: abort mode](#injecting-dependencies-and-leingingen-pedantic-abort-mode)
- [Troubleshooting](#troubleshooting)
- [Changelog](#changelog)
- [Team](#team)
@@ -1443,6 +1444,10 @@ it's not actively maintained and it doesn't behave like the Clojure nREPL.
Those issues are not insurmountable, but are beyond the scope of our current roadmap.
If someone would like to tackle them, we'd be happy to provide assitance.
+### Injecting dependencies and Leiningen pedantic: abort mode
+
+Because injection currently creates an override of `tools.nrepl` dependency that Leingingen also pulls in starting up the REPL will fail if `:pedantic? :abort` is set. Either remove the `:pedantic? :abort` setting or switch off injecting the dependencies with setting `cider-inject-dependencies-at-jack-in` to nil and provide the dependencies by editing your `~/.lein/profiles.clj` as described in the [standalone REPL](#setting-up-a-standalone-repl) section.
+
## Troubleshooting
In case you run into issues here are a few tips that can help you diagnose the
@@ -1532,6 +1537,10 @@ that the order here matters.
Emacs doesn't load the new files, it only installs them on disk. To see the
effect of changes you have to restart Emacs.
+### CIDER should inject its dependencies but I still get warnings when I use `cider-jack-in`
+
+Injecting the depencies should override the old settings in the `~/lein/profiles.clj` file however only if those settings were done in the `:repl` profile. If the `:user` profile is used overriding does not happen. To fix this issue stop your REPL, remove CIDER and `tools.nrepl` dependencies from your `~/.lein/profiles.clj` and start the REPL again.
+
## Changelog
An extensive changelog is available [here](CHANGELOG.md).