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

前端 未结 7 568
刺人心
刺人心 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:29

    Works fine with macOS Sierra (10.12.2) after running the following command:

    xcode-select --install
    

    Before i had:

    An error occurred while installing nio4r (1.2.1), and Bundler cannot continue.
    

提交回复
热议问题