Exception notifier does not work with Ruby 1.8.6p111

Not only does exception notifier not work, you probably don’t know that it doesn’t work either. All your code has just become super-exception-free all of a sudden.

Ah, wishful thinking.

If you have installed Ruby 1.8.6p111 then you will want to take note of the comments here.

Just modify the file vendor/plugins/exception_notification/views/_environment.rhtml to say:

* <%= "%-*s: %s" % [max.length, key, @request.env[key].to_s.strip] %>

instead of

* <%= "%*-s: %s" % [max.length, key, @request.env[key].to_s.strip] %>

2 comments for this post.

  1. Comment from court3nay | 9 November 2007 | 4:16 am :

    freakin sweet!

  2. Comment from Roger | 1 May 2008 | 9:53 pm :

    has anybody submitted this?

Leave your comment...

Powered by WP Hashcash

Blog Archives

Navigation


About this blog

A blog about Ruby, Rails and other tech. Mostly.


Find Something?