Sha256: 5979af7d3775b58dd68691024dc420302cf6b50504c49652065547255f395361

Contents?: true

Size: 453 Bytes

Versions: 12

Compression:

Stored size: 453 Bytes

Contents

Rack (Sinatra etc.)
===================

Installation
------------

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

.. sourcecode:: ruby

    gem "sentry-raven"

Configuration
-------------

Add ``use Raven::Rack`` to your ``config.ru`` or other rackup file (this is
automatically inserted in Rails):

.. sourcecode:: ruby

    require 'raven'

    Raven.configure do |config|
      config.dsn = '___DSN___'
    end

    use Raven::Rack

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
sentry-raven-2.7.4 docs/integrations/rack.rst
sentry-raven-2.7.3 docs/integrations/rack.rst
jones-gem-2.7.2 docs/integrations/rack.rst
alec-gem-2.7.2 docs/integrations/rack.rst
sentry-raven-2.7.2 docs/integrations/rack.rst
sentry-raven-2.7.1 docs/integrations/rack.rst
sentry-raven-2.6.3 docs/integrations/rack.rst
sentry-raven-2.6.2 docs/integrations/rack.rst
sentry-raven-2.6.1 docs/integrations/rack.rst
sentry-raven-2.6.0 docs/integrations/rack.rst
sentry-raven-2.5.3 docs/integrations/rack.rst
sentry-raven-2.5.2 docs/integrations/rack.rst