2016-07-13 14:44 GMT+02:00 John Szakmeister <j...@szakmeister.net>:

> On Wed, Jul 13, 2016 at 7:20 AM, Cecil Westerhof <cldwester...@gmail.com>
> wrote:
> > After a long time I want to start with Clojure again. As I understand
> it, it
> > is best to use:
> >     lein repl
> >
> > But then I work with 1.5.1. Is there a way to work default with the
> latest
> > stable version of Clojure?
>
> I think you probably want to run "lein upgrade".  My version currently
> provides a REPL for Clojure 1.8.0 without any special options.
>


​I already tried that, but this gives:
WARNING: You're currently running as root; probably by accident.
Press control-C to abort or Enter to continue as root.
Set LEIN_ROOT to disable this warning.

Downloading Leiningen to
/root/.lein/self-installs/leiningen-2.3.4-standalone.jar now...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:--
--:--:--     0curl: (22) The requested URL returned error: 403 Forbidden
Failed to download
https://leiningen.s3.amazonaws.com/downloads/leiningen-2.3.4-standalone.jar
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. Either upgrade it or set HTTP_CLIENT
to turn off certificate checks:
  export HTTP_CLIENT="wget --no-check-certificate -O" # or
  export HTTP_CLIENT="curl --insecure -f -L -o"
It's also possible that you're behind a firewall haven't yet
set HTTP_PROXY and HTTPS_PROXY.

​I now just installed it again. And that works. But what if I default want
to work with a newer (or older) version. I understood it could be done with
profile.clj, but I did not get it working.


​At the moment every user has to install lein, is there a way to install it
globally?

-- 
Cecil Westerhof

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to