$ gem install exceptional
$ exceptional install YOUR-API-KEY
You will find your key in the apps settings screen in Exceptional.
require 'rubygems'
require 'exceptional'
Exceptional::Config.load("config/exceptional.yml")
Exceptional.rescue do
# Add your Ruby code here!
end
This block will report exceptions to getexceptional.com and then re-raise them to your ruby code