Sha256: 171ca739a8042ef23bdf37e347a6b2e478be3725974028de994fc913132f7314
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
# Raven-Ruby [![Build Status](https://secure.travis-ci.org/coderanger/raven-ruby.png?branch=master)](http://travis-ci.org/coderanger/raven-ruby) A client and integration layer for the [Sentry](https://github.com/dcramer/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. ## Installation Add the following to your `Gemfile`: ```ruby gem "raven", :git => "https://github.com/coderanger/raven-ruby.git" ``` ## Usage ### Rails 3 Add a `config/initializers/raven.rb` containing: ```ruby require 'raven' Raven.configure do |config| config.dsn = 'http://public:secret@example.com/project-id' end ``` ### Rails 2 No support for Rails 2 yet. ### Other Rack Servers Basic RackUp file. ```ruby require 'raven' Raven.configure do |config| config.dsn = 'http://public:secret@example.com/project-id' end use Raven::Rack ``` ### Other Ruby ```ruby require '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 ``` ## Testing ```bash $ bundle install $ rake spec ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sentry-raven-0.1 | README.md |