Rack (Sinatra, etc.)

Installation

Install the SDK via Rubygems by adding it to your Gemfile:

Copied
gem "sentry-raven"

Configuration

Add use Raven::Rack to your config.ru or other rackup file:

Copied
require 'raven'

Raven.configure do |config|
  config.dsn = 'https://examplePublicKey@o0.ingest.sentry.io/0'
end

use Raven::Rack
You can edit this page on GitHub.