gem install nokogiri -v '1.6.8.1' fails

前端 未结 4 795
轮回少年
轮回少年 2021-02-02 11:34

Building a new Rails app and getting a problem with nokogiri. Said to try gem install nokogiri -v \'1.6.8.1\' which fails with output below. I tried deleting Gemfil

4条回答
  •  梦如初夏
    2021-02-02 12:11

    You can also encounter the same error message if you've downloaded XCode Tools but haven't yet agreed to the license.

    From Terminal, run:

    sudo xcodebuild -license
    

    Enter your admin password, space through the agreement and type agree to accept. Run brew doctor and if necessary, brew update and you should be in good shape.

提交回复
热议问题