Automatically compile Thrift definitions in Ruby