Re: How do I upgrade nREPL?

2015-03-30 Thread Shannon Severance
I saw no difference in behavior, if I understood how to create the :dev 
profile:

{:user {:plugins [[cider/cider-nrepl "0.9.0-SNAPSHOT"]
  [lein-pprint "1.1.2"]]
:dependencies [[org.clojure/tools.nrepl "0.2.10"]]}
 :dev {:dependencies [[org.clojure/tools.nrepl "0.2.10"]]}}

>
>>

-- 
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.


Re: How do I upgrade nREPL?

2015-03-30 Thread Bozhidar Batsov
Yeah, other have noticed this as well
https://github.com/clojure-emacs/cider/issues/961

Not sure if this is a Lein bug or a feature.

On 30 March 2015 at 10:09, Shannon Severance  wrote:

> Through some additional experimentation, I have found when I start
> Leiningen repl within a Leiningen project, the nrepl dependency from
> ~/.lien/profiles.clj is being used. nREPL 0.2.10 is started. This is true
> if I start via `lein repl` or `cider-jack-in`.
>
> The problem exists when starting free of a project.
>
> -- Shannon
>
> --
> 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.
>

-- 
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.


Re: How do I upgrade nREPL?

2015-03-30 Thread Shannon Severance
Through some additional experimentation, I have found when I start 
Leiningen repl within a Leiningen project, the nrepl dependency from 
~/.lien/profiles.clj is being used. nREPL 0.2.10 is started. This is true 
if I start via `lein repl` or `cider-jack-in`.

The problem exists when starting free of a project.

-- Shannon

-- 
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.


Re: How do I upgrade nREPL?

2015-03-29 Thread Justin Smith
You can use a newer version by putting your nrepl dep under the :dev 
profile, which will override the version that leiningen wants.

On Sunday, March 29, 2015 at 11:46:55 PM UTC-7, Tassilo Horn wrote:
>
> Shannon Severance > writes: 
>
> > I would like to upgrade nREPL, but it appears I am still using version 
> > 0.2.6. 
>
> Yes, that's the version Leiningen depends on, so I think we all have to 
> wait until the next Leiningen upgrade to satisfy CIDER. 
>
> Bye, 
> Tassilo 
>

-- 
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.


Re: How do I upgrade nREPL?

2015-03-29 Thread Tassilo Horn
Shannon Severance  writes:

> I would like to upgrade nREPL, but it appears I am still using version
> 0.2.6.

Yes, that's the version Leiningen depends on, so I think we all have to
wait until the next Leiningen upgrade to satisfy CIDER.

Bye,
Tassilo

-- 
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.


How do I upgrade nREPL?

2015-03-29 Thread Shannon Severance
I would like to upgrade nREPL, but it appears I am still using version 
0.2.6.

My ~/.lein/profiles.clj:

{:user {:plugins [[cider/cider-nrepl "0.9.0-SNAPSHOT"]
  [lein-pprint "1.1.2"]]
:dependencies [[org.clojure/tools.nrepl "0.2.10"]]}}


When I start lein repl

britannia:~ srseverance$ lein repl
nREPL server started on port 50957 on host 127.0.0.1 - 
nrepl://127.0.0.1:50957
REPL-y 0.3.5, nREPL 0.2.6
Clojure 1.6.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_25-b17


(The first time after adding tools.nrepl to profiles.clj, leiningen did 
download nrepl 0.2.10.)


And M-x cider-jack-in

; CIDER 0.9.0snapshot (package: 20150329.1355) (Java 1.8.0_25, Clojure 
1.6.0, nREPL 0.2.6)
WARNING: CIDER requires nREPL 0.2.7 to work properly


Leiningen is version 2.5.1

This is on Max OS X 10.10.2

-- Shannon



-- 
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.