Sha256: 0d92429842eec4e68e68b33de8749ab7ced6ffc22625d2ba776963134456497d

Contents?: true

Size: 550 Bytes

Versions: 3

Compression:

Stored size: 550 Bytes

Contents

require "bard/template/helper"

git :clone => "git://github.com/rails/exception_notification.git --branch=2-3-stable vendor/plugins/exception_notification"
run "rm -rf vendor/plugins/exception_notification/.git"

file_inject "app/controllers/application_controller.rb",
  "class ApplicationController < ActionController::Base", <<-END
  include ExceptionNotifiable

END

file_append "config/environment.rb", <<-END

ExceptionNotifier.exception_recipients = %w(micah@botandrose.com)
END

git :add => "."
git :commit => "-m'added exception notifier.'"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bard-0.8.2 lib/bard/template/exception_notifier.rb
bard-0.8.1 lib/bard/template/exception_notifier.rb
bard-0.8.0 lib/bard/template/exception_notifier.rb