fix ruby haml error detection

haml errors are not displaying now, lets fix it