How to configure leiningen to use newest Clojure version for repl started outside of project?

StackOverflow https://stackoverflow.com/questions/22773358

  •  25-06-2023
  •  | 
  •  

Question

When I start clojure repl for specific project, for leiningen is enough to specify correct clojure version in the concrete project.clj file as described here. But when I start repl outside the project then the older version is started. In my case the older version is 1.5.1 and I want to upgrade to 1.6.0. Here has proposed not working solution, but in the comments bellow is said that in lieingen version 2.1 the problem is resolved. I'm with version 2.3.4 of leiningen but the proposed solution doesn't work for me.

Was it helpful?

Solution

according to technomancy on IRC: "repls outside projects are hard coded 
to lein's version of clojure"

Source: https://github.com/technomancy/leiningen/issues/1035#issuecomment-35927505

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top