我在 mac osx 10.8 的系统下面 采用 brew+rvm 来安装 ruby
当运行 rvm install 1.9.3 的时候 卡在了 ruby-1.9.3-p385 - #configuring ruby-1.9.3-p385 - #compiling Error running 'make', please read /Users/babo/.rvm/log/ruby-1.9.3-p385/make.log There has been an error while running make. Halting the installation.
查看 make.log
installing default rmd160 libraries linking shared-object digest/sha1.bundle collect2: ld terminated with signal 11 [Segmentation fault: 11] make[2]: *** [../../../.ext/x86_64-darwin12.2.0/digest/sha1.bundle] Error 1 make[1]: *** [ext/digest/sha1/all] Error 2 make: *** [build-ext] Error 2
原来 ruby rails 都安装好了,就是后来 rails s 的时候,总提示 bundle install。我一直 bundle install 过不去,就重新安装了 Update RVM:
$ rvm get head
Remove all the manually installed packages:$ rvm pkg remove
Install the required libraries:$ rvm requirements run
结果就不能再正确安装上 ruby 1.9.3 了。。。
还望大家给看看啥原因呢