Closed colliderwriter closed 5 years ago
Ah, that tutorial is out of date by a couple of versions. Use lein new duct foo
instead.
I'll update the blog post as well.
Hating to be a nuisance, but I tried that and had a different issue:
[~]$ rm -r foo
[~]$ lein new duct foo
Generating a new Duct project named foo...
Run 'lein duct setup' in the project directory to create local config files.
[~]$ cd foo
[foo]$ lein duct setup
Created profiles.clj
Created .dir-locals.el
Created dev/resources/local.edn
Created dev/src/local.clj
[foo]$ lein run
Exception in thread "main" java.lang.IllegalAccessError: in-seconds does not exist, compiling:(ring/middleware/cookies.clj:1:1)
. . .
[stacktrace lines snipped]
Do you have a plugin in your ~/.lein/profiles.clj
file that's pulling in an old version of clj-time?
Bullseye. This is a brand new user account on this machine which, when created, copied some cruft.
Closing this issue and I'm sorry for wasting your time and and thank you very much for taking the time to answer.
Following the instructions in [Advancing Duct][https://www.booleanknot.com/blog/2017/05/09/advancing-duct.html]
on a current Fedora 28
yields the following: