airbrake/airbrake — pull request #152 by allspiritseve (2012-12-20 15:24:28+00:00)
Title: Use https for rake airbrake:test if force_ssl set to true (fixes #145)

When an application has config.force_ssl set to true, the airbrake:test rake task tries to call /verify and ends up getting redirected to https://www.example.com/verify. The code isn't set up to handle this, so it just silently fails without actually triggering an exception.

The simplest approach is to detect whether force_ssl is set to true, and use https if necessary. That is what this pull request does.

I am very open to discussion about better approaches.