I don't know if this is a common Emacs issue or clojure / cider specification. Anyway: how to pass environment variables that work in the shell and are currently configured in my ~ / .profile. Now, if I am in my project, this works fine:
(System/getenv "FOO") -> "BAR
But when I sit in my project, the CIDER replica cannot see the variable:
(System/getenv "FOO") -> nil
I am using Emacs version 24.4.50 with GUI (Cocoa). The version for cider is cider-20140718.747.
source share