简体   繁体   中英

Leiningen: Install issues on OSX Mountain Lion

UPDATE:

I have installed via 'homebrew' and updated (see comments to this question), so my ultimate problem is solved, but the particular question I posted here is still open, but I am not really caring since the 'homebrew' solution circumvented it for me. Thanks to Diego Basch for his suggestion.


I'm trying to install leinigen, following the instructions for a shell script here: http://leiningen.org/ . I downloaded the `lein' script and executed but got the following error:

[/usr/local/bin (git:master) ] $ ./lein.sh 
Could not find artifact lein-newnew:lein-newnew:jar:0.3.7
This could be due to a typo in :dependencies or network issues.
Could not resolve dependencies

Closest answer I found on stackexchange was: Installation of Leiningen 2.X in Mac OS X

but that didn't help. Any help is appreciated in resolving this.

Thanks,

Matt

You can install Leiningen 2 (that's what you want nowadays) on OSX via Homebrew:

brew install leiningen --devel

Mind the --devel switch, else you get Leiningen 1.7, the latest stable version. More useful information on how to get started can be found on this blog: http://jrheard.tumblr.com/post/40024238467/getting-started-with-clojure

It's a known bug in leiningen-RC1 and already fixed for leiningen-RC2.

https://github.com/technomancy/leiningen/issues/915

Mac OS优胜美地适用于

brew install leiningen

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM