<% if Rails::VERSION::MINOR < 2 -%> require 'errornot_notifier/rails' <% end -%> ErrornotNotifier.configure do |config| config.api_key = '<%= api_key %>' config.host = '<%= host %>' end