This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-08
Channels
- # adventofcode (31)
- # beginners (97)
- # bigdata (2)
- # boot (276)
- # cider (17)
- # cljsrn (5)
- # clojure (150)
- # clojure-china (3)
- # clojure-conj (8)
- # clojure-greece (1)
- # clojure-india (1)
- # clojure-korea (1)
- # clojure-new-zealand (4)
- # clojure-russia (40)
- # clojure-spec (119)
- # clojure-uk (116)
- # clojurescript (87)
- # code-reviews (110)
- # core-async (4)
- # cursive (11)
- # datomic (26)
- # garden (4)
- # gorilla (7)
- # hoplon (82)
- # humor (1)
- # jobs (2)
- # jobs-discuss (10)
- # luminus (17)
- # onyx (60)
- # planck (2)
- # play-clj (2)
- # protorepl (70)
- # re-frame (121)
- # reagent (7)
- # ring-swagger (3)
- # rum (16)
- # test-check (16)
- # untangled (12)
- # yada (20)
hi, i am running gorilla-repl inside a boot-clj pod (without a project) i can pass in cider-nrepl dependencies in the pod, is there a way to make nrepl started by gorilla-repl to find the cider nrepl middleware and use it inside the pod?
basically, gorilla-repl starts an nrepl inside the pod in a boot task and i want it to start with cider nrepl middle ware
this is what i have so far: https://gist.github.com/neupsh/0f2448719e7cc3de71461ae6b66f284c
@nux I think you also need to tell nrepl which middleware to use...
@richiardiandrea nrepl is started by gorilla-repl
@richiardiandrea when i connect from emacs with cider-connect, it says nrepl version is nil
i think somehow, the middlewares are not loaded.. i would really love to pass in custom middlewares in gorilla,
@nux I don't remember by heart how to do it, let me check
@richiardiandrea i have read (have been reading) a lots of documents/source for nrepl, gorilla and cider, but still not able to figure it out.. gorilla does try to load cider middleware if it exists but somehow it is not happening.. to insert other custom middlewares, i think it will need modification of the gorilla code to support it
oh ok sorry I thought it was a different kind of problem, I would then make sure that you see the deps in env inside the pod...maybe they are not added there?
@richiardiandrea i see them loaded, i can evaluate something like this:
Uhm, that's weird then, maybe look in gorilla's innards, the pod is just a custom class loader so it should definitely be same as inserting stuff in a normal nrepl