James Reeves
James Reeves
This should be fixed in 0.8.12 (see [this PR](https://github.com/weavejester/lein-ring/pull/127)). Try updating your dependencies to the latest version.
None that I can think of.
The data from the `:adapter` key is just passed verbatim to the adapter. Lein-Ring doesn't currently do anything to evaluate lists or symbols, or require the relevant namespaces.
I'm not sure if this is the only error, but the problem I can see is that you're using `with-context-path-info` inside the code you generate, but that function is private,...
I'd rather figure out why it doesn't work, but I'm not going to have any time to investigate for a while.
Is it possible to provide a repository that replicates the error?
Yes, if you like you can send it directly to my email, [email protected]. Otherwise, if the problem can be replicated with a minimal project, then that would be fine, too.
Potentially this is an issue stemming from the use of Leiningen's `eval-in-project`. I'm unsure how to work around this, but I welcome any investigation or patches people want to contribute...
You don't want to use Lein-Ring with Component (except possibly for creating war files). Instead, prefer the [reloaded workflow](http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded) pattern, perhaps with a library such as [reloaded.repl](https://github.com/weavejester/reloaded.repl).
Sorry, I'm not completely clear on your use case. Is this Docker composition in a development or production environment? Is there a reason you can't just open an nREPL connection...