Trying my hand of late with python and ruby and other bits and pieces but found myself hitting a lot of clang compiler issues when trying to install ruby gems etc on my mac, specifically this sort of thing:
Luckily after some googling manbolo.com to the rescue, Xcode 5.1 it appears has changed something from a warning to an error as explained in more detail on the blog post here.
Anyway whack in an
and you should be right next time you try to
or of course you may need to do this if your using sudo
Hope this helps you too.