Sha256: 94f61aa7366fbfc6e7d96678d3643008966c19b7d49514ecd9871ba27347f6bc

Contents?: true

Size: 612 Bytes

Versions: 3

Compression:

Stored size: 612 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
  git "checkout 2-3-stable"
end
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.5 lib/bard/template/exception_notifier.rb
bard-0.8.4 lib/bard/template/exception_notifier.rb
bard-0.8.3 lib/bard/template/exception_notifier.rb