Why aren't “gem” and “bundle” using the same libxml2?

前端 未结 1 330
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 15:08

I seem to be in a recursive loop of frustration. I\'m trying to \"bundle install\" a project, but it results in:

An error occurred while installing nokogiri          


        
相关标签:
1条回答
  • 2021-01-18 16:08

    On my Mac OS X, I ran these commands, and the problem is fixed.

    brew unlink gcc-4.2      # you might not need this step
    gem uninstall nokogiri
    xcode-select --install
    gem install nokogiri
    
    0 讨论(0)
提交回复
热议问题