added syntax check for ruby files.