README.rdoc in pboling-super_exception_notifier-1.7.0 vs README.rdoc in pboling-super_exception_notifier-1.7.1
- old
+ new
@@ -54,20 +54,20 @@
mkdir -p ~/src
cd ~/src
git clone git://github.com/pboling/exception_notification.git
cd exception_notification
gem build exception_notification.gemspec
- sudo gem install super_exception_notification-1.7.0.gem # (Or whatever version gets built)
+ sudo gem install super_exception_notification-1.7.1.gem # (Or whatever version gets built)
Then cd to your rails app to optionally freeze the gem into your app:
rake gems:freeze GEM=super_exception_notifier
Then in your environment.rb:
config.gem 'super_exception_notifier',
- :version => '~> 1.7.0',
+ :version => '~> 1.7.1',
:lib => "exception_notifier"
Installing Gem from Github's Gem Server:
@@ -75,18 +75,18 @@
sudo gem install pboling-super_exception_notifier
Then in your environment.rb:
config.gem 'pboling-super_exception_notifier',
- :version => '~> 1.7.0',
+ :version => '~> 1.7.1',
:lib => "exception_notifier",
:source => 'http://gems.github.com'
Plugin using Git:
- # Installation as plugin might work... I haven't tried it.
+ # Installation as plugin might work... I haven't tried it, but others have told me it works!
./script/plugin install git://github.com/pboling/exception_notification.git
SVN Plugin (very deprecated, no longer updated, install Git!):
./script/plugin install http://super-exception-notifier.googlecode.com/svn/trunk/super_exception_notifier
@@ -391,14 +391,16 @@
You can reorder the sections, or exclude sections completely, by altering the
ExceptionNotifier.config[:sections] variable.
== Not working due to nature of gem vs plugin
-You can even add new sections that
-describe application-specific data--just add the section's name to the list
-(whereever you'd like), and define the corresponding partial. Then, if your
-new section requires information that isn't available by default, make sure
-it is made available to the email using the exception_data macro:
+This might work if you install the gem as a plugin.
+
+You can even add new sections that describe application-specific data --
+just add the section's name to the list (whereever you'd like), and define the
+corresponding partial. Then, if your new section requires information that isn't
+available by default, make sure it is made available to the email using the
+exception_data macro:
class ApplicationController < ActionController::Base
...
protected
exception_data :additional_data