nokogiri - ERROR: Failed to build gem native extension

前端 未结 8 1346
既然无缘
既然无缘 2020-12-11 15:59

I updated to the developer release of Lion and noticed I couldn\'t start rails apps anymore. Whenever I try to sudo bundle install, I get the following error:

8条回答
  •  被撕碎了的回忆
    2020-12-11 16:31

    I had similar problem, and after installing XCode 4.1, I also had to do the following command:

    sudo port upgrade libxml2 libxslt
    

    After that Nokogiri built without problems.

    More info: http://tektastic.com/2011/07/ruby-mac-ports-and-os-x-lion.html

提交回复
热议问题