刚尝试使用RVM在osx 10.8.2上安装ruby 1.9.3-p286并收到以下错误:
Installing new ruby ruby-1.9.3-p286
ruby-1.9.3-p286 - #configure
ruby-1.9.3-p286 - #download
ruby-1.9.3-p286 - #extract
ruby-1.9.3-p286 - #validate
Libraries missing for ruby-1.9.3-p286: /opt/sm/pkg/versions/libffi/3.0.10/lib/libffi.5.dylib. Refer to your system manual for installing libraries
Mounting remote ruby failed, trying to compile.
Installing Ruby from source to: /Users/lee/.rvm/rubies/ruby-1.9.3-p286, this may take a while depending on your cpu(s)...
ruby-1.9.3-p286 - #downloading ruby-1.9.3-p286, this may take a while depending on your connection...
ruby-1.9.3-p286 - #extracting ruby-1.9.3-p286 to /Users/lee/.rvm/src/ruby-1.9.3-p286
ruby-1.9.3-p286 - #extracted to /Users/lee/.rvm/src/ruby-1.9.3-p286
ruby-1.9.3-p286 - #configuring
ruby-1.9.3-p286 - #compiling
ruby-1.9.3-p286 - #installing
Error running 'make install', please read /Users/lee/.rvm/log/ruby-1.9.3-p286/install.log
There has been an error while running make install. Halting the installation.
我已经搜索了这些错误,但到目前为止没有任何帮助,任何帮助都表示赞赏。
答案 0 :(得分:7)
这应该用https://github.com/wayneeseguin/rvm/issues/1244修复 - 问题应该已经解决:
rvm get head
rvm reinstall 1.9.3