I'm embedding Ruby in a C program. If the Ruby program throws an exception, I'd like to catch it and print out the error. How could I do that?