Sha256: f154b4eeec5928eadf860e187ad4c95dcd4031e51d3c1ad70318148719767e8c

Contents?: true

Size: 615 Bytes

Versions: 41

Compression:

Stored size: 615 Bytes

Contents

require "bard/template/helper"

git :clone => "git://github.com/rails/exception_notification.git vendor/plugins/exception_notification"
inside "vendor/plugins/exception_notification" do
  run "git checkout origin/2-3-stable"
  run "rm -rf .git"
end

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

END

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

ExceptionNotification::Notifier.exception_recipients = %w(micah@botandrose.com)
END

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

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
bard-0.19.0 lib/bard/template/exception_notifier.rb
bard-0.18.0 lib/bard/template/exception_notifier.rb
bard-0.17.1 lib/bard/template/exception_notifier.rb
bard-0.17.0 lib/bard/template/exception_notifier.rb
bard-0.16.1 lib/bard/template/exception_notifier.rb
bard-0.16.0 lib/bard/template/exception_notifier.rb
bard-0.15.5 lib/bard/template/exception_notifier.rb
bard-0.15.4 lib/bard/template/exception_notifier.rb
bard-0.15.3 lib/bard/template/exception_notifier.rb
bard-0.15.2 lib/bard/template/exception_notifier.rb
bard-0.15.0 lib/bard/template/exception_notifier.rb
bard-0.14.2 lib/bard/template/exception_notifier.rb
bard-0.14.1 lib/bard/template/exception_notifier.rb
bard-0.14.0 lib/bard/template/exception_notifier.rb
bard-0.13.2 lib/bard/template/exception_notifier.rb
bard-0.13.1 lib/bard/template/exception_notifier.rb
bard-0.13.0 lib/bard/template/exception_notifier.rb
bard-0.12.0 lib/bard/template/exception_notifier.rb
bard-0.11.3 lib/bard/template/exception_notifier.rb
bard-0.11.2 lib/bard/template/exception_notifier.rb