Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run program "clojure" with Cursive #83

Open
rads opened this issue Mar 14, 2019 · 1 comment
Open

Cannot run program "clojure" with Cursive #83

rads opened this issue Mar 14, 2019 · 1 comment

Comments

@rads
Copy link

rads commented Mar 14, 2019

From the README:

:clojure-executables

A vector of strings identifying possible install locations for the clojure command line tool script. They will be tried in order, with the first match being used. The default is currently set to [/usr/local/bin/clojure]. This is necessary as lein-tools-deps uses the clojure executable to determine some system specific defaults, such as the location of the :install :config-files.

The note about the default doesn't seem to be accurate. When I try to "Refresh Leiningen Projects" in a lein-tools-deps project in Cursive, I get a Cannot run program "clojure" error because there is no default path to fall back to. There was an older PR that was supposed to fix this but it seems like those changes are not in the current version.

If I add :clojure-executables ["/usr/local/bin/clojure"] to my config the problem goes away.

@stoyle
Copy link

stoyle commented Apr 5, 2019

We see the same. I think it was removed in dbc8db2. Easily fixed as desribed in the issue. But at least the README should be updated, perhaps with a section about Cursive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants