Skip to content

Instantly share code, notes, and snippets.

@nateberkopec
Created October 22, 2014 13:38
Show Gist options
  • Save nateberkopec/233da4fd0c2bb50d97a5 to your computer and use it in GitHub Desktop.
Save nateberkopec/233da4fd0c2bb50d97a5 to your computer and use it in GitHub Desktop.
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