Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (17 sloc) 0.864 kB
6c000e7 @jyurek Added INSTALL to display config info when the plugin is installed.
jyurek authored
1 === Configuration
2
3 You should have something like this in config/initializers/hoptoad.rb.
4
5 HoptoadNotifier.configure do |config|
6 config.api_key = '1234567890abcdef'
7 end
8
9 (Please note that this configuration should be in a global configuration, and
10 is *not* environment-specific. Hoptoad is smart enough to know what errors are
11 caused by what environments, so your staging errors don't get mixed in with
12 your production errors.)
13
14 You can test that Hoptoad is working in your production environment by using
15 this rake task (from RAILS_ROOT):
16
17 rake hoptoad:test
18
19 If everything is configured properly, that task will send a notice to Hoptoad
20 which will be visible immediately.
21
22 NOTE FOR RAILS 1.2.* USERS:
23
24 You will need to copy the hoptoad_notifier_tasks.rake file into your
25 RAILS_ROOT/lib/tasks directory in order for the rake hoptoad:test task to work.
Something went wrong with that request. Please try again.