{% extends "sentry/partial/client_config/ruby_base.html" %} {% load i18n %} {% block inner %}
{% trans "Add a config/initializers/raven.rb
containing:" %}
require 'raven' Raven.configure do |config| config.dsn = '{% if dsn %}{{ dsn }}{% else %}SENTRY_DSN{% endif %}' end
{% trans "That's it! Raven automatically installs an error handling hook to pipe all uncaught exceptions to Sentry." %}
{% trans "If you wish to test your connection to the server, you can use the raven test command:" %}
rake raven:test{% endblock %}