Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试安装 rb-fsevent gem 时得到这个:
fsevent/fsevent_watch.c:1:10: fatal error: 'stdio.h' file not found #include <stdio.h> ^
运行此命令:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/
然后编译将起作用。