airbrake/airbrake — pull request #43 by kidsalsa (2011-12-01 17:41:28+00:00)
Title: Fixes issue with airbrake:deploy when secure=true.

The rake task airbrake:deploy doesn't set the ca_file for OpenSSL when secure=true. I have refactored the send_to_airbrake method and the deploy task to use a common method in a new module Airbrake:Security for setting the ca_file. The method uses the default ca bundle path if the file exists, otherwise it uses the ca bundle that is shipped with the gem.

NOTE: This in NOT the same issue as https://github.com/airbrake/airbrake/issues/17 That issue deals with the notify method not working, this issue is with the airbrake:deploy task not working.

NOTE: I did not fix the tests. I'm sorry I didn't have time to get the suites running correctly and I had to move on. I'm assuming this will be trivial for you guys to update.

The support ticket related to this:
http://help.airbrake.io/discussions/problems/2164-airbrakedeploy-fails-certificate-validation-when-securetrue