Docker for Mac - mkmf.rb can't find header files for ruby

前端 未结 10 1820
一生所求
一生所求 2020-12-07 08:41

I updated XCode on my Mac and since then when starting Docker using docker-sync-stack start I get this error message:

mkmf.rb can\'t find header         


        
10条回答
  •  离开以前
    2020-12-07 08:58

    None of the other solutions worked for me, here's what I ran to resolve the issue on Mac OS 10.14.x:

    sudo rm -rf /Library/Developer/CommandLineTools
    xcode-select --install
    sudo xcodebuild -license accept
    open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
    

提交回复
热议问题