Skip to content

Instantly share code, notes, and snippets.

@ideamonk
Created July 9, 2012 08:08
Show Gist options
  • Save ideamonk/3074980 to your computer and use it in GitHub Desktop.
Save ideamonk/3074980 to your computer and use it in GitHub Desktop.
Fix for missing headers while building native extensions
# E.g. rb-fsevent gem fails with
# fsevent/fsevent_watch.c:1:10: fatal error: 'stdio.h' file not found
#
# XCode 4.3.3 , OSX Lion 10.7.3
#
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment