Skip to content

Commit 7ead482

Browse files
committed
More detailed installation documentation
1 parent 1e8fb83 commit 7ead482

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,18 @@ application. The plugin is configurable, allowing programmers to specify:
1212
The email includes information about the current request, session, and
1313
environment, and also gives a backtrace of the exception.
1414

15-
Usage
15+
Installation
1616
---
1717

18-
As of Rails 3 ExceptionNotifier is used as a rack middleware
18+
You can use the latest ExceptionNotification gem with Rails 3, by adding
19+
the following line in your Gemfile
20+
21+
gem 'exception_notification', :require => 'exception_notifier'
22+
23+
As of Rails 3 ExceptionNotification is used as a rack middleware, so you can
24+
configure its options on your config.ru file, or in the environment you
25+
want it to run. In most cases you would want ExceptionNotification to
26+
run on production. You can make it work by
1927

2028
Whatever::Application.config.middleware.use ExceptionNotifier,
2129
:email_prefix => "[Whatever] ",

0 commit comments

Comments
 (0)