A client and integration layer for the Sentry error reporting API.
This library is still forming, so if you are looking to just use it, please check back in a few weeks.
Add the following to your Gemfile:
gem "sentry-raven", :git => "https://github.com/coderanger/raven-ruby.git"Or install manually
$ gem install sentry-ravenAdd a config/initializers/raven.rb containing:
require 'raven'
Raven.configure do |config|
config.dsn = 'http://public:secret@example.com/project-id'
endNo support for Rails 2 yet.
Basic RackUp file.
require 'raven'
Raven.configure do |config|
config.dsn = 'http://public:secret@example.com/project-id'
end
use Raven::Rackrequire 'raven'
Raven.configure do |config|
config.dsn = 'http://public:secret@example.com/project-id'
end
Raven.capture # Global style
Raven.capture do # Block style
...
end$ bundle install
$ rake spec