Question

Whenever I try to run lein bootstrap in the leiningen-core/ directory I always get the following message:

Please run "lein bootstrap" in the leiningen-core/ directory
with a stable release of Leiningen. See CONTRIBUTING.md for details.

I have the 2.2.0 script (which is a stable release). I have placed lein in my path. I am using Linux (CentOS)

Was it helpful?

Solution

bootstrap is only necessary if you are building lein from source. If you downloaded a stable release, it Just Works. So you can do things like lein new, lein jar, etc, with no further setup. See the excellent README for details.

Set your path correctly. For example, put the lein script in your ~/bin and then add ~/bin to your path environment variable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top