Ruby Gem install Json fails on Mavericks and Xcode 5.1 - unknown argument: '-multiply_definedsuppress'

前端 未结 11 1467
醉酒成梦
醉酒成梦 2020-11-22 03:39

I was trying run gem install json and got the following error

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /System/Library/Framewo         


        
11条回答
  •  情话喂你
    2020-11-22 04:27

    Paul Chechetin's one-liner doesn't appear to work anymore (9/21/15). However, this reply to the post mentioned in Pete's reply solved the problem for me:

    • (a) Install Apple's XCode, then (b) launch it and accept the licensing terms (I had done (a), but not (b).)
    • sudo gem uninstall compass
    • sudo gem install compass

提交回复
热议问题