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

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

  •  25-06-2023
  •  | 
  •  

문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top