Gemfile update for version
Fixed a bug in error handling.