using a more proper error class
fixed a bug in gemspec