added better errors to gem file

added better errors gem to gem file
I'm pretty sure that `binding_of_caller` is also a development specific gem