Upgrade to the latest Mac OS Mavericks. There was an error loading JSON:
Gem install json-v ' 1.8.1 '
Building native extensions. This is could take a while ...
Error:error Installing JSON:
Error:failed to build gem native extension.
/usr/local/var/rbenv/versions/2.0.0-p247/bin/ruby extconf.rb
Creating Makefile
Make "destdir="
Compiling GENERATOR.C
In file included From/usr/local/var/rbenv/versions/2.0.0-p247/include/ruby-2.0.0/ruby.h:33,
From.. /fbuffer/fbuffer.h:5,
From Generator.c:1:
/usr/local/var/rbenv/versions/2.0.0-p247/include/ruby-2.0.0/ruby/ruby.h:51:21:error:string.h:no such file or Directory
/usr/local/var/rbenv/versions/2.0.0-p247/include/ruby-2.0.0/ruby/ruby.h:61:21:error:stdint.h:no such file or Directory
/usr/local/var/rbenv/versions/2.0.0-p247/include/ruby-2.0.0/ruby/ruby.h:64:23:error:inttypes.h:no such file or Directory
/usr/local/var/rbenv/versions/2.0.0-p247/include/ruby-2.0.0/ruby/ruby.h:68:19:error:stdio.h:no such file or Directory
Solution:
Need to reinstall command line Developer Tools
If this method still does not work, the MAC needs to install under the APPLE-GCC42
Note that the brew 0.9.4 should be a source without apple-gcc42, and you can use the Brew doctor check to see if it is compatible with Mavericks, which needs to be upgraded