{% extends "sentry/partial/client_config/ruby_base.html" %} {% load i18n %} {% block inner %}
{% trans "Configure the client within your application:" %}
require 'raven' Raven.configure do |config| config.dsn = '{% if dsn %}{{ dsn }}{% else %}SENTRY_DSN{% endif %}' end
{% trans "That's it! Raven automatically appends middleware to pipe all uncaught exceptions to Sentry." %}
{% endblock %}