Created
October 22, 2014 13:38
-
-
Save nateberkopec/233da4fd0c2bb50d97a5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add Sentry to your Gemfile: | |
gem "sentry-raven", :require => 'raven', :git => "https://github.com/getsentry/raven-ruby.git" | |
Add a config/initializers/raven.rb containing: | |
Raven.configure do |config| | |
config.dsn = 'https://ee561c4bd99f45c6bb2a442b1af04677:[email protected]/31964' | |
end | |
That's it! Raven automatically installs an error handling hook to pipe all uncaught exceptions to Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment