You're reading an API for notify_exception
for a version that has yet to be released as a gem.
You can either point your Gemfile
at the git repo
gem "exception_notification", git: "git://github.com/smartinez87/exception_notification.git"
or use the proper API call for 3.0.1
ExceptionNotifier::Notifier.exception_notification(request.env, exception,
:data => {:message => "was doing something wrong"}).deliver
The docs for 3.0.1
are here.