Install Nokogiri 1.6.1 under Ruby 2.0.0p353 (rvm based installation) fails (OSX Mavericks)?

后端 未结 5 1125
终归单人心
终归单人心 2020-12-19 06:51

I\'ve tried to install Nokogiri 1.6.1 under Ruby and RVM but is failing with the following error:

Gem::Installer::ExtensionBuildError: ERROR: Failed to build         


        
5条回答
  •  醉话见心
    2020-12-19 07:42

    Turned out there is a bit simpler solution:

    Remove this line in your ~/.bashrc or ~/.bash_profile file:

    GREP_OPTIONS="--color=always"
    

    with this one:

    export GREP_OPTIONS="--color=auto"
    

    This way you won't need to install any duplicates. Thanks to MrPowers @ Nokogiri Issues.

提交回复
热议问题