我下面就设置你的Mac上的Rails本教程:
http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/
当我到了第6步:安装RVM使用Ruby 1.9.3,并运行curl -L https://get.rvm.io | bash -s stable --ruby
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....
我觉得这strage因为我这个指南之前跟着一个类似的设置,并没有遇到任何问题。
有任何想法吗?