Upgraded to ruby 1.9.2 and getting Segmentation Fault errors in nokogiri

前端 未结 5 536
半阙折子戏
半阙折子戏 2021-01-03 08:52

I decided to upgrade to 1.9.2 ruby yesterday and also installed rvm to do it. I ran a few recent files I had working previously on 1.8.7 but anything requiring nokogiri fail

5条回答
  •  执念已碎
    2021-01-03 09:12

    Is it possible you originally built Nokogiri on Leopard then upgraded to Snow Leopard?

    If so, do a gem uninstall nokogiri followed by gem install nokogiri. That will force it to recompile for your currently selected Ruby and OS.

    I saw the similar problems when I upgraded from Leopard to Snow Leopard, and reinstalled my Ruby. The gems didn't get recompiled, so I had to force several of them to do so.

提交回复
热议问题