3
votes

I'm not sure why but when I enter the REPL through $ clojure or $ lein repl, >(clojure-version) says '1.2.1'. I want it to say '1.5'.

Version 1.5 works fine in my projects managed by lein. I just want to tell lein to always use 1.5 by default, instead of 1.2.

1

1 Answers

2
votes

Currently this isn't supported outside a project, but it's being worked on: https://github.com/technomancy/leiningen/issues/966

A workaround for now is just to specify it in your project.clj

Further recommendation: upgrade to Leiningen 2.0.