安装苹果酒 [英] Installation of cider-nrepl

查看:170
本文介绍了安装苹果酒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了CIDER 0.7.0,现在当我在Emacs中启动它时(通过 Mx cider-jack-in RET ), :


警告:CIDER的版本(0.7.0)与cider-nrepl的版本不符(未安装)


我已下载 cider-nrepl 和发现它由闭包代码组成,而不是emacs lisp代码。因为我今天开始探索Clojure世界,并且在项目页面上没有安装说明,你能告诉我如何安装cider-nrepl?

解决方案

您需要将其放入lein project.clj或全局lein配置。摘自官方文档


在项目的project.clj文件中或在〜/ .lein / profiles.clj中的用户配置文件中使用方便的插件作为默认值。




 :plugins [[cider / cider-nrepl0.7.0]] 




CIDER的最小profiles.clj将是:




  {:user {:plugins [[cider / cider-nrepl0.7.0]]}} 


I've installed CIDER 0.7.0 and now when I start it inside of Emacs (via M-x cider-jack-in RET), I get the following warning:

WARNING: CIDER's version (0.7.0) does not match cider-nrepl's version (not installed)

I've downloaded cider-nrepl and found out that it consists of closure code, not emacs lisp code. Since I've started exploring Clojure world just today, and there is no installation instructions on the project page, could you tell me how can I install cider-nrepl?

解决方案

You need to put it into lein project.clj or into global lein configuration. Excerpt from official documentation:

Use the convenient plugin for defaults, either in your project's project.clj file or in the :user profile in ~/.lein/profiles.clj.

:plugins [[cider/cider-nrepl "0.7.0"]]

A minimal profiles.clj for CIDER would be:

{:user {:plugins [[cider/cider-nrepl "0.7.0"]]}}

这篇关于安装苹果酒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆