fix bug with rails command, remove debug message