Fixing Header File Missing Warnings on OSX With Native Gem Compilation

Wiped away my install of XCode this evening to install the new version of Xcode (which I installed straight to /Applications!).

Prior to doing this I also completely deleted the /Developer folder.

Upon successfully reinstalling RVM and homebrew using the devtools, I cd’d into a rvm managed folder and did the standard bundle install, upon which time I eventually received this error:

Error -
: fatal error: 'stdio.h' file not found

I had installed the Command Line Tools for Xcode, but I had not yet switched where it should resolve those tools. Running the following command fixed the issue:

Fix the missing header issue -
sudo xcode-select -switch /Applications/

Develop With Passion®