update ruby example client
remove debug option and add O2 optimization