If you build a build error in Xcode

Screen Shot 2016-02-01 at 8.47.58 AM

You can view these logs via a tool built into Apple OS.
Cd to the above directories and open the log files
> cd ~/Library/Logs/DiagnosticReports
> open ruby_xxx.crash

Screen Shot 2016-02-01 at 8.48.18 AM

You can then see from above code that you fail in ruby string.c land. Ruby version error.

This program is called the Console application and you can find it in your applications folder.

Screen Shot 2016-02-01 at 8.49.45 AM