Sha256: 5b1f2d038c0eeafe9c094bbdcd25aeb2a68af2b146e3ed757292f3c3be428feb

Contents?: true

Size: 587 Bytes

Versions: 21

Compression:

Stored size: 587 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 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

21 entries across 21 versions & 1 rubygems

Version Path
bard-0.8.28 lib/bard/template/exception_notifier.rb
bard-0.8.27 lib/bard/template/exception_notifier.rb
bard-0.8.26 lib/bard/template/exception_notifier.rb
bard-0.8.25 lib/bard/template/exception_notifier.rb
bard-0.8.24 lib/bard/template/exception_notifier.rb
bard-0.8.23 lib/bard/template/exception_notifier.rb
bard-0.8.22 lib/bard/template/exception_notifier.rb
bard-0.8.21 lib/bard/template/exception_notifier.rb
bard-0.8.20 lib/bard/template/exception_notifier.rb
bard-0.8.19 lib/bard/template/exception_notifier.rb
bard-0.8.18 lib/bard/template/exception_notifier.rb
bard-0.8.17 lib/bard/template/exception_notifier.rb
bard-0.8.16 lib/bard/template/exception_notifier.rb
bard-0.8.15 lib/bard/template/exception_notifier.rb
bard-0.8.14 lib/bard/template/exception_notifier.rb
bard-0.8.13 lib/bard/template/exception_notifier.rb
bard-0.8.12 lib/bard/template/exception_notifier.rb
bard-0.8.11 lib/bard/template/exception_notifier.rb
bard-0.8.10 lib/bard/template/exception_notifier.rb
bard-0.8.9 lib/bard/template/exception_notifier.rb