OS-X, Rails: “Failed to build gem native extension”

后端 未结 12 2255
梦毁少年i
梦毁少年i 2020-12-03 02:22

I\'m stuck trying to install rails on my mac. I have OS X 10.6.8 and I have confirmed that I have Ruby, version 1.8.7

I ran sudo gem update and su

12条回答
  •  感动是毒
    2020-12-03 03:14

    The Command line tools didn't solve this issue for me. I upgraded ruby installation through rbenv to 2.2.0, made that the global default ruby installation, and this issue was fixed.

提交回复
热议问题