Hello and thanks for this nice plugin! I have encountered a problem while trying to start the REPL, either via the shortcut (`Ctrl + Enter`) or from the menu `Tools -> Clojure -> Start REPL`. Although Leiningen is installed and `lein` is accessible as an executable, I am getting an error similar to the following: ``` Cannot run <PROJECT NAME> REPL "lein" not found (working directory <PROJECT DIRECTORY>): error=2 No such file or directory ``` I have taken a look at the [source code](https://github.com/gregsh/Clojure-Kit/blob/c166bd93caa7d78980b1efd78fe7b8cd1b21652f/src/tools/tools.kt#L56) but could not find any visible issue. Is there any additional configuration required for Leiningen specifically?
Activity
gregsh commentedon Sep 6, 2018
Hi George!
Do you have
leininstalled and in a search path, i.e. can you runleinin a terminal?Also what OS do you use?
So is the
leinexecutable is found on that line?georgepsarakis commentedon Sep 6, 2018
Hello @gregsh . I am using Debian 8.
I can run
leincommands (lein test,lein repletc) on the terminal without any issue.I am not sure how else I can help you debug this, please let me know if you need further information.
alonisser commentedon Apr 26, 2019
Same problem for me, with ubuntu 18.04 any workaround for this?
jeshan commentedon Aug 10, 2019
Looks like it doesn't scan whole $PATH. Try moving lein to either of: