当我下面这个教程在Mac上设置扶手:错误运行“让-j2”安装RVM
http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/
当我到步骤6:用Ruby 1.9.3安装RVM ,并运行curl -L https://get.rvm.io | bash -s stable --ruby
安装RVM,我得到以下错误:
Error running 'make -j2', please read ~/.rvm/log/ruby-1.9.3-p385/make.log
There has been an error while running make. Halting the installation.
在make.log里,这里是它生成了什么:
regparse.c:582:15: error: implicit conversion loses integer precision: 'st_index_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
return t->num_entries;
~~~~~~ ~~~^~~~~~~~~~~
1 error generated.
make: *** [regparse.o] Error 1
make: *** Waiting for unfinished jobs....
我发现这一块,因为我之前在类似的设置中遵循了本指南,并没有遇到任何问题。
任何想法?
可能重复[无法编译红宝石1.9.3(http://stackoverflow.com/questions/14592945/can not-compile-ruby-1-9-3) – mpapis 2013-02-12 15:00:19