Did you install lein by following the instructions in lein's README (as the tutorial you linked instructs)? I wouldn't be surprised to find that the version in your package manager is defective in some way, and it's almost certainly outdated. I don't know how lein templates are distributed, but I think a fresh lein install will magically have the one you're looking for, whereas an install from apt is probably static.
How to start the Speclj tutorial?
Question
Inspired by this coding kata I'd like to try the Clojure language.
After installing lein
on my Ubuntu box, I wanted to use speclj
for testing, so I went to the official tutorial page, where I was told to simply execute lein new speclj change-counter
to create my new project.
However, it seems to me that Leiningen thinks that my project name is "speclj" instead of "change-counter", so instead of having src/change-counter/core.clj
I have src/speclj/core.clj
.
What am I missing here? (~/.lein
is empty.)
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow