![](/img/trans.png)
[英]“RVM install ruby” failed to install rubies, RVM installed in /usr/local
[英]Error running './installer -a /usr/local/rvm/rubies/ree-1.8.7-2010.02 --dont-install-useful-gems ' inside Terminal on OS X
我在这里遵循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.
这是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
有帮助吗? 提前致谢!
尝试运行: rvm update && rvm reload
首先rvm update && rvm reload
。 这解决了我的问题。
如果您使用的是OS X 10.6,可能会导致两个问题:
rvm_archflags="-arch x86_64"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.