For completely removing all local gems, no hassle, this is the only method that worked for me foolproof:
gem list | cut -d" " -f1 | sudo xargs gem uninstall -aIx
Our merb app needed some kind of exception notification. We could have gone the route we chose with our older Rails apps, ie, just mail all exceptions to some kind of alias like email@example.com.
But that approach would leave us with no way to centrally review all errors from a web page short of sending them to a central exception notification app via REST or something. Surely there had to be a tool of some sort that already did this, right?
It’s easy to set up, and once you have it up and running, all your errors go into a central Hoptoad project repository.
A project page in Hoptoad gives you a convenient summary of all the errors that have occurred in your app with an error summary and error count.
The detailed error page show you the environment variables, a backtrace, as well as many other useful details.
All in all, using hoptoad is a great way to set your app up for error notification and tracking. It’s easy too – the whole process took me an hour, from signing up with hoptoad to setting up merb_hoptoad_notifier, to getting error notification emails!