Bundle install: ERROR: Failed to build gem native extension. nio4r gem

前端 未结 7 493
刺人心
刺人心 2021-02-02 15:04

I\'m currently working on a project using:

  • rvm 1.26.11
  • ruby 2.2.1p85

I tried to run bundle install but keep getting the follow

相关标签:
7条回答
  • 2021-02-02 15:53

    This happened to me and it was because a new version of XCODE was installed and I hadn't accepted the new terms and conditions. Looking at the mkmf.log showed the following:

    Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

    0 讨论(0)
提交回复
热议问题