functional-koans / clojure-koans

A set of exercises for learning Clojure
3.74k stars 2.14k forks source link

koans won't run with Clojure 1.6 #98

Closed rubic closed 8 years ago

rubic commented 9 years ago

I've got Clojure 1.6 installed, but the koans won't run:

$ clj
Clojure 1.6.0
user=> 

$ ./script/run
Exception in thread "main" java.lang.Exception: Clojure version 1.5 or higher required., compiling:(.../koans/script/run.clj:1:30)
trptcolin commented 8 years ago

Sorry for taking awhile to see this! I'm not sure what clj is, so that may be the issue but there are 2 options listed in the README.

  1. If you're running from a zipfile hosted on the website (the latest one from the releases page), that's when you run ./script/run.
  2. [RECOMMENDED] If you're running from a git checkout of the repository, you should run lein koan run instead (highly recommend installing Leiningen).

If you've still got this problem, I'm probably going to need more details on how to reproduce it (e.g. running from git checkout vs. zipfile, what does the lib directory look like, etc.). Again, sorry for taking so long to get to this.