You're probably using the leiningen that's packaged in Ubuntu, right? On Ubuntu 14.04, that's pulling in version 1.7.x, which is positively ancient. Remove the apt packaged version of leiningen and follow the installation instructions on the website (http://leiningen.org) and you'll probably be good to go.
On Tuesday, September 6, 2016 at 4:00:35 AM UTC-7, Jerome Manceau wrote: > > Hi, > > I'm very new to Clojure and hitting a wall trying to use quil. > > I've created a new project following an example "lein new quil drawing" > It seemed to work but when checking the project.clj I saw that the quil > dependency was missing. > Also, trying to start a first test application would only throw errors. > > Now, I realised that I need clojure version >= 1.7 to have quil working. > But that's where it gets confusing: > > - When typing "clojure" in my terminal, I get : Clojure 1.4.0 > > - When starting "lein repl" and then typing "(clojure-version)", I get: > "1.2.1" > > - When using the REPL on my IDE (NightCode) and typing "(clojure-version), > I get: "1.9.0-alpha11" > > So, how do I upgrade the clojure version in leiningen, so that I can call > "lein new quil drawing" and get the project created properly? > > I'm working on ubuntu 14.4 > > Thanks for help > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.