James Reeves

Results 828 comments of James Reeves

Could you explain your setup and the exception you get in a little more detail? Environ only tries to load the `.lein-env` file if that file exists. If it doesn't...

It looks like this is caused by `.boot-env` being erroneously included in the jar file, which may be why this hasn't been reported before. In any case, Environ is behaving...

It should have precedence. The code performs a `(merge environ/env env)`, so the environment argument should take precedence. If it's not, something is going weirdly wrong.

This seems like it could be fragile around trampolining, and perhaps other Leiningen functions. Is this just trading one set of problems for another? Also, using an atom seems like...

I don't think there's a platform independent way of getting the PID in Java, unfortunately.

Don't most of the tools that use `.env` set the environment anyway?

You can use Leiningen's profiles if you want different environments in development.

As mentioned at the top of the README, the `.lein-env` file is written to by the lein-environ plugin and should not be edited manually.

Ideally you shouldn't be using the environment map as a substitute for your configuration. Create a configuration from values in the environment map, but don't use the environment directly as...

Thanks for the patch. Can you wrap the commit message at 72 characters and add a reference to the issue being solved, e.g. something like: ``` Read boot-env using io/resource...