segunda-feira, 22 de dezembro de 2014

Instalando o Leiningen


Uso Debian e estava tendo problemas para instalar o Leiningen. O erro era:



Failed to download https://github.com/technomancy/leiningen/
releases/download/2.5.0/leiningen-2.5.0-standalone.jar 
(exit code 141)
It's possible your HTTP client's certificate store does not 
have the
correct certificate authority needed. This is often caused 
by an
out-of-date version of libssl. It's also possible that you're 
behind a firewall and haven't set HTTP_PROXY and HTTPS_PROXY.  


Para resolver o problema basta alterar a variavel de ambiente HTTP_CLIENT.
Se voce quiser utilizar o wget, digite:

export HTTP_CLIENT="wget --no-check-certificate -O"

Se voce quiser utilizar o curl, digite:

export HTTP_CLIENT="curl --insecure -f -L -o"