Today has been quite an adventure, so I figured it would be best to document the solutions
to these problems so that others (and myself) can quickly figure out what is going wrong
and get a working solution in place.
The first came when attempting to install Octopress. Thankfully rvm made installing and using various Ruby versions extremely simple. Unfortunately, it couldn’t save me from the specter that is Xcode 4.3 and the fact that it is now an ordinary app package that sits in /Applications.
During Octopress’ installation it uses Bundler to install dependencies. One of the dependencies it installed contained native extensions and needed to use `gcc` to compile itself. Well, that blew up with a truly unhelpful error:
fsevent/fsevent_watch.c:1:10: fatal error: ‘stdio.h’ file not found
Apparently, as this GitHub issue indicates, Xcode 4.3 no longer installs the “Unix tools” in their usual places (or at all it appears).
Continue reading →