Diagnose rails problems