coderanger/raven-ruby — pull request #16 by dcramer (2012-07-10 17:31:20+00:00)
Title: Use Rack middleware in older versions of Rails 3 (3.1.3 for example)

I have no idea what I'm doing, but in my head this fixes things.