2

尝试安装 rb-fsevent gem 时得到这个:

fsevent/fsevent_watch.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^
4

1 回答 1

3

运行此命令:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/

然后编译将起作用。

于 2012-08-11T07:47:47.873 回答