Skip to content

Commit

Permalink
Merge pull request #144 from montrealrb/chore-143-bt-setup-error-moni…
Browse files Browse the repository at this point in the history
…torin

[chore] Fixes #143 - Keep track of runtime errors on production
  • Loading branch information
benichu committed Dec 8, 2015
2 parents 4f0bb6a + 6bc6699 commit f294a36
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ gem 'globalize-accessors'
# Administration
gem 'administrate', '~> 0.1.1'

# Ops
gem 'bugsnag'

group :development do
gem 'annotate'
gem 'spring'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ GEM
bourbon (4.2.6)
sass (~> 3.4)
thor (~> 0.19)
bugsnag (2.8.13)
json (~> 1.7, >= 1.7.7)
builder (3.2.2)
capybara (2.5.0)
mime-types (>= 1.16)
Expand Down Expand Up @@ -338,6 +340,7 @@ DEPENDENCIES
annotate
autoprefixer-rails (~> 6.1.0)
bootstrap-sass (~> 3.3.6)
bugsnag
capybara
carrierwave
cloudinary
Expand Down
3 changes: 3 additions & 0 deletions config/initializers/bugsnag.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugsnag.configure do |config|
config.api_key = ENV["BUGSNAG_API_KEY"]
end

0 comments on commit f294a36

Please sign in to comment.