有一个两岁的博客文章在这里解释如何解决错误“你必须先安装开发工具'自带的引入nokogiri,如果你有安装RVM后升级到山狮时发生的问题错误。 在博客中,他说你必须做
rvm update head
rvm --force install 1.9.2
gem install bundle
## in your rails app
bundle
Installing nokogiri (1.4.2) with native extensions
...
rvm update head
现在已更改为rvm get head
。 然而,在那之后我盲目做
rvm --force install 1.9.2
而得到这个错误消息
rvm --force install 1.9.2
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.2-p320.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.
[1]: http://www.fakingfantastic.com/2010/11/26 /fixing-the-you-have-to-install-development-tools-first-error-with-nokogiri/
换句话说,它指引我回到相同的博客文章。
纵观RVM网站,我没有盲目
rvm install 1.9.2
我得到这个错误
红宝石1.9.2-P320没有安装。 要安装这样做: 'RVM安装Ruby-1.9.2-P320'
继说明,我没有RVM安装Ruby-1.9.2-P320,得到了相同的二进制文件的错误
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.2-p320.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`.
任何人都可以提供一些指导