Hey! Seeing that there's a dedicated channel for Ring, I'm posting here too.
@teodorlu My general advice is "don't use the ring
plugin at all". Have a standard Leiningen project, with standard :dependencies
, and set up your -main
so you can just lein run
it to start the server. Then plain ol' lein uberjar
should work and you're back in the land of standard, simple, composable tools -- instead of relying on the behavior of a plugin (that just obscures what is going on).
Thanks. I'm inclined to agree. Not knowing which dependencies are added to my jar file is ... a bit more magical than I'd prefer. This is an existing project that already uses lein ring server
, but I'll have to consider the cost of that magic.