小编Tim*_*nan的帖子

RVM无法在Snow Leopard上安装Ruby 1.9.2:'运行'make'时出错

当我尝试使用以下方法在Snow Leopard上安装Ruby 1.9.2时:

rvm install 1.9.2
Run Code Online (Sandbox Code Playgroud)

我得到以下内容:

ERROR: Error running 'make ', please read /Users/mary/.rvm/log/ruby-1.9.2-p180/make.log
ERROR: There has been an error while running make. Halting the installation.
Run Code Online (Sandbox Code Playgroud)

所以,我查看make.log.它的结尾是:

readline.c: In function ‘username_completion_proc_call’:
readline.c:1386: error: ‘username_completion_function’ undeclared (first use in this 
function)

readline.c:1386: error: (Each undeclared identifier is reported only once
readline.c:1386: error: for each function it appears in.)
make[1]: *** [readline.o] Error 1
make: *** [mkmain.sh] Error 1
Run Code Online (Sandbox Code Playgroud)

我已经咨询了这个问题的其他答案,并做了一切建议:

我尝试更新readline,但无论如何,我继续收到有关运行'make'的错误消息.

rvm …

ruby rvm

11
推荐指数
2
解决办法
1万
查看次数

标签 统计

ruby ×1

rvm ×1