A foolproof way of removing all local gems
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
Error Notification and Tracking with Merb + Hoptoad
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 errors@ourcompany.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?
After some investigation, I happened upon Hoptoad, an app by the folks at thoughtbot.
And it turned out that there a great merb plugin for Hoptoad too (by http://atmos.org/)!
It’s easy to set up, and once you have it up and running, all your errors go into a central Hoptoad project repository.

The Project List
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.

Project Error List
The detailed error page show you the environment variables, a backtrace, as well as many other useful details.

Error 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!
puts “Hello world”
I’ve decided to jot down my thoughts, experiences on (web) development in blog format, so here we are!