ruby debug and error.