added ruby syntax check