Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 373
bobeff Avatar asked Mar 31 '14 22:03

bobeff


1 Answers

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

like image 141
xsc Avatar answered Oct 17 '22 19:10

xsc