solve the problem about syntax check ruby 1.9 code