The general principle is that the Clojure version that you get when you run 'lein repl' will be the one specified in the project.clj file in the directory you're in when you run 'lein repl'. (Nikita's link illustrates how the Clojure version is specified in project.clj.) When you run 'clojure' in your terminal, you're getting whatever script named "clojure" is first in your path. You can see what your path is with a command such as 'echo $PATH'. NightCode may have it's own way of specifying the version to use, but I don't use NightCode, so I don't know.
Are you in the drawing directory when you run 'lein repl'? If not, then you're not getting the version of Clojure specified in drawing/project.clj. You're just getting whatever version of Clojure is the default for the version of Leiningen that's installed. If you are in drawing when you run 'lein repl', then I wonder, like Nikita, what version of Leiningen you have. However, you should be able upgrade to the latest version of Leiningen by running 'lein upgrade' at a shell prompt. You would still want to run 'lein repl' from the directory that was created by 'lein new quil drawing', though, in order to work with quil. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
