added better error gem in development env