Fork me on GitHub
#cider
<
2016-03-18
>
rickmoynihan00:03:43

@malabarba: that's exactly what I've ended up doing - but you have to step in to the code - and then eval something like (print foo) which is quite a lot of key strokes when the thing you wanted was on the screen

rickmoynihan00:03:00

not a big deal - but I thought it would be useful

thiagofm00:03:18

How do I reload a config file inside resources in cider?

malabarba11:03:34

@thiagofm repeat the same thing that loaded it in the first place? simple_smile

thiagofm11:03:01

@malabarba: yeah... it worked 😛

reefersleep21:03:58

Does anyone know how to see the version of cider I'm currently using?

reefersleep21:03:08

I use Spacemacs and I'm an Emacs newbie simple_smile

reefersleep21:03:54

I mean, I can see that there's something called cider-version, but I can't tell how to call it. And I guess I can see the version when a repl loads.

reefersleep21:03:06

I wonder why I can't call cider-version.

hans21:03:07

@reefersleep: try C-h v cider-version RET

reefersleep21:03:28

so, the Spacemacs version of that would be: space h d v cider-version RET

reefersleep21:03:46

Helm is pretty cool.

reefersleep22:03:31

How do I upgrade cider?

thiagofm22:03:59

@reefersleep: just update spacemacs and then update the packages of spacemacs

thiagofm22:03:23

You can do this by going to the spacemacs file and pressing enter in "update..."

thiagofm22:03:34

s/file/buffer

reefersleep22:03:34

Trying that now, thanks @thiagofm simple_smile

thiagofm22:03:59

@reefersleep: ;; Connected to nREPL server - <nrepl://localhost:51946> ;; CIDER 0.12.0snapshot (package: 20160313.2315), nREPL 0.2.12 ;; Clojure 1.8.0-RC5, Java 1.8.0_72

thiagofm22:03:32

This is (likely) the latest spacemacs, if you see this, you should be on latest. I've updated yesterday

reefersleep22:03:17

I'm updating because I'm having trouble with leiningen and thus can't open an nREPL, so I'm hoping I will be able to now!

reefersleep22:03:49

or, well, I'm not sure what I'm having trouble with. Couldn't open an nREPL or a lein repl, anyways.

reefersleep22:03:09

Think it was because my profiles.clj nrepl and cider-nrepl were out of sync

reefersleep22:03:04

Same problem, lein doesn't open. Hmm.

reefersleep22:03:13

or, the nREPL doesn't open.

reefersleep22:03:56

Concretely, this is wha thappens:

reefersleep22:03:10

If I empty my ~/.lein/profiles.clj , lein replworks, but cider-jack-in fails

reefersleep22:03:21

the cider-jack-in output is weird:

reefersleep22:03:17

Starting nREPL server via lein update-in :dependencies conj ^"[org.clojure/tools.nrepl \^"0.2.12\^"]^" -- update-in :plugins conj ^"[refactor-nrepl \^"2.2.0-SNAPSHOT\^"]^" -- update-in :plugins conj ^"[cider/cider-nrepl \^"0.12.0-SNAPSHOT\^"]^" -- repl :headless...

reefersleep22:03:32

It used to be something like "Starting nREPL server via lein repl :headless..."

reefersleep22:03:47

and then after that, it spews a stacktrace:

reefersleep22:03:15

with more lines

reefersleep23:03:53

I broke my REPL 😞

thiagofm23:03:33

@reefersleep: I get the same output from cider-jack-in but it works

reefersleep23:03:10

argh, I just realize that I don't think I did the second part of what you did

thiagofm23:03:40

No problem, I had the same issue

thiagofm23:03:54

Before updating I'm almost sure I didn't have to do any of this

thiagofm23:03:00

(well, it worked)

reefersleep23:03:48

Wait, maybe I'm confused

reefersleep23:03:05

I hit "update" let everything download, and restarted spacemacs

reefersleep23:03:14

so now I'm going to put stuff into profiles.clj

reefersleep23:03:19

and hope that suffices

reefersleep23:03:37

copy/pasted from the lein quickstart part of spacemacs

thiagofm23:03:00

I think you have to both update spacemacs and then also update the packages

reefersleep23:03:20

that's what I missed, I guess? How do I do the packages?

thiagofm23:03:21

To update the packages there's a different update link in spacemacs buffer

reefersleep23:03:55

I don't see it

reefersleep23:03:01

Only "[Update]"

reefersleep23:03:35

tries hitting it a second time

reefersleep23:03:53

All packages are up to date.

thiagofm23:03:19

Do you see:

thiagofm23:03:21

[?] [Homepage] [Documentation] [Gitter Chat] [Update Spacemacs] [Update Packages] [Rollback Package Update]

thiagofm23:03:36

Have you restarted spacemacs?

reefersleep23:03:40

[?] [Homepage] [Documentation] [Gitter Chat] [Update] [Rollback] [Release Notes] [Search in Spacemacs]

reefersleep23:03:48

quite a few times, yes

reefersleep23:03:55

(spacemacs-0.104.2)

thiagofm23:03:04

(emacs-24.5.1) (spacemacs-0.105.14)

thiagofm23:03:28

Maybe it's not being updated correctly

reefersleep23:03:34

looks like it

thiagofm23:03:27

I won't lie, I've already did like 3 spacemacs clean installs, but the last time I've managed to do a smooth update

reefersleep23:03:30

@thiagofm: I'm hitting the hay. Thanks for your help. It seems like my version of Spacemacs does not have the auto-update functionality - or something is borked. In any case, the best bet is probably to do a clean reinstall of Spacemacs.

reefersleep23:03:59

I'll try that tomorrow. Goodnight, or good morning, or good day to you!

thiagofm23:03:16

@reefersleep: good night, good that you've found your way simple_smile

benedek23:03:28

@reefersleep: the error you posted rings a bell you might be on a old leiningen version?

benedek23:03:46

upgrade your leiningen that should fix the problem