{% extends "sentry/partial/client_config/ruby_base.html" %} {% load i18n %} {% block inner %}
{% trans "Create an instance of the client:" %}
require 'raven' Raven.configure do |config| config.dsn = '{% if dsn %}{{ dsn }}{% else %}SENTRY_DSN{% endif %}' end
{% trans "Now wrap your application to capture events:" %}
Raven.capture do MyApp.run end{% endblock %}