mpettis
mpettis

Reputation: 3339

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

Upvotes: 1

Views: 2527

Answers (3)

Johnny
Johnny

Reputation: 481

for mac os yosemite works just with

brew install leiningen

Upvotes: -1

nihilismus
nihilismus

Reputation: 11

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

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

Upvotes: 1

Michiel Borkent
Michiel Borkent

Reputation: 34870

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

Upvotes: 6

Related Questions