added better errors and gems for rails console