[英]Problems with lein installation in a macbook
I'm trying to install lein in my new macbook (osx 10.8.2) following the tutorial on https://github.com/technomancy/leiningen 我正在尝试按照https://github.com/technomancy/leiningen上的教程在新的Macbook(osx 10.8.2)中安装lein
When executing the lein script, I'm getting this error: 执行lein脚本时,出现此错误:
/bin/lein: line 1: {rtf1ansiansicpg1252cocoartf1187cocoasubrtf340: command not found /bin/lein: line 2: syntax error near unexpected token }' /bin/lein: line 2:
{\\fonttbl\\f0\\fmodern\\fcharset0 Courier;}' / bin / lein:第1行:{rtf1ansiansicpg1252cocoartf1187cocoasubrtf340:找不到命令/ bin / lein:第2行:意外令牌附近的语法错误}' /bin/lein: line 2:
{\\ fonttbl \\ f0 \\ fmodern \\ fcharset0 Courier;}'
The script I'm using is this one https://raw.github.com/technomancy/leiningen/preview/bin/lein 我正在使用的脚本是这个https://raw.github.com/technomancy/leiningen/preview/bin/lein
The {rtf1 ...
comes from an rtf document. {rtf1 ...
来自rtf文档。 I suppose you haven't copy/pasted the script from the web into a document using TextEdit? 我想您还没有使用TextEdit将脚本从网上复制/粘贴到文档中吗? That program defaults to rtf, which could cause this problem. 该程序默认为rtf,这可能会导致此问题。
You should try pasting in a 'decent' text editor. 您应该尝试粘贴“体面的”文本编辑器。 Try your IDE, or Vim or nano or something like that. 尝试使用IDE,Vim或nano或类似的工具。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.