From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Clojure Mode - `nrepl-jack-in' gives error
Date: Fri, 18 Apr 2014 13:18:21 +0200 [thread overview]
Message-ID: <87d2gevqbm.fsf@gmail.com> (raw)
Hi List,
[this was posted on the clojure list too, but on 2nd thought it looks
more like and Emacs than and Clojure question]
I just installed lein2 and can start 'lein2 repl' successfully on the
command-line. 'lein repl' works too, since I defined an alias in my
.bashrc.
After installing packages clojure-mode and nrepl in Emacs, I get this
error when trying `nrepl-jack-in':
,-------------------------------------------------------------------------
| error in process sentinel: Could not start nREPL server: /bin/bash: Line
| 1: lein: Command not found.
`-------------------------------------------------------------------------
I'm on Archlinx with
#+begin_src emacs-lisp
(emacs-version)
#+end_src
#+results:
: GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7)
: of 2014-01-28 on var-lib-archbuild-extra-x86_64-juergen
I googled some related sites and it seems it might be an Emacs (exec-) path
problem, but a reboot did not help. I don't find any reference to
leiningen/clojure/nrepl in Emacs exec-path nor in '$ echo $PATH', but
things work on the command-line, but not from Emacs.
--
cheers,
Thorsten
next reply other threads:[~2014-04-18 11:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-18 11:18 Thorsten Jolitz [this message]
2014-04-18 11:24 ` Clojure Mode - `nrepl-jack-in' gives error Bastien
2014-04-18 11:42 ` Thorsten Jolitz
2014-04-18 11:46 ` Bastien
2014-04-18 12:28 ` Thorsten Jolitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2gevqbm.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).