[英]Error running './installer -a /usr/local/rvm/rubies/ree-1.8.7-2010.02 --dont-install-useful-gems ' inside Terminal on OS X
I was following a guide/tutorial from railstutorial.org here and stuck up till Ruby Version Manager (RVM) part below: 我在这里遵循railstutorial.org的指南/教程,直到下面的Ruby Version Manager(RVM)部分:
root# rvm install ree
/usr/local/rvm/rubies/ree-1.8.7-2010.02
ree-1.8.7-2010.02 - #fetching (ruby-enterprise-1.8.7-2010.02)
ree-1.8.7-2010.02 - #extracting ruby-enterprise-1.8.7-2010.02 to /usr/local/rvm/src/ree-1.8.7-2010.02
ree-1.8.7-2010.02 - #installing
Error running './installer -a /usr/local/rvm/rubies/ree-1.8.7-2010.02 --dont-install-useful-gems ', please check /usr/local/rvm/log/ree-1.8.7-2010.02/install.error.log
There has been an error while trying to run the ree installer. Halting the installation.
and this is the install.error.log 这是install.error.log
readline.c: In function ‘username_completion_proc_call’:
readline.c:734: error: ‘username_completion_function’ undeclared (first use in this function)
readline.c:734: error: (Each undeclared identifier is reported only once
readline.c:734: error: for each function it appears in.)
make[1]: *** [readline.o] Error 1
make: *** [all] Error 1
Any help? 有帮助吗? Thanks in advance!
提前致谢!
Try running: rvm update && rvm reload
first. 尝试运行:
rvm update && rvm reload
首先rvm update && rvm reload
。 That fixed the problem for me. 这解决了我的问题。
Two things that might be causing issues if you're on OS X 10.6: 如果您使用的是OS X 10.6,可能会导致两个问题:
rvm_archflags="-arch x86_64"
before rvm install ree rvm_archflags="-arch x86_64"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.