Error: could not stat active Xcode path '/Applications/Xcode5-DP3.app/Contents/Developer'. (No such file or directory) cc -arch i386 -arch x86_64 -pipe -bundle -undefined dynamic_lookup -o generator.bundle generator.o -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpthread -ldl -lobjc clang: error: no such file or directory: 'generator.o' make: *** [generator.bundle] Error 1 Gem files will remain installed in /Users/thierryleveque/.gem/ruby/1.8/gems/json-1.8.0 for inspection. Results logged to /Users/thierryleveque/.gem/ruby/1.8/gems/json-1.8.0/ext/json/ext/generator/gem_make.out
The weird part is the reference to Xcode5-DP3! Where does it come from? I am running the final version, not the dp3.
I have the exact same problem on 2 different Mac.
I have never used Ruby before. I I run ruby -v on the command line I get: ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]