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

前端 未结 10 1827
一生所求
一生所求 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 09:08

    Single line command fix:

    On OSX Mojave I ran the following command:

    sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
    

    and it fixed the issue.

提交回复
热议问题