Skip to content

Commit

Permalink
Merge pull request #11 from sul-dlss/honeybadger
Browse files Browse the repository at this point in the history
Add honeybadger
  • Loading branch information
Jessie Keck committed Jul 17, 2017
2 parents 08619e6 + 6f6a185 commit b35ea75
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ require 'dlss/capistrano'
# require 'capistrano/rails/migrations'
# require 'capistrano/passenger'

require 'capistrano/honeybadger'

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
#Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ group :deployment do
gem 'capistrano-bundler'
gem 'dlss-capistrano'
end

gem 'honeybadger'
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ GEM
rubocop (~> 0.37.0)
rubocop-rspec (~> 1.4.0)
docile (1.1.5)
honeybadger (3.1.2)
i18n (0.8.1)
json (1.8.3)
json (1.8.6)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (4.1.0)
Expand Down Expand Up @@ -91,6 +92,7 @@ DEPENDENCIES
coveralls
dlss-capistrano
dlss_cops
honeybadger
rake (~> 11.3.0)
rspec

Expand Down
4 changes: 3 additions & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
set :log_level, :info

# Default value for :linked_files is []
set :linked_files, fetch(:linked_files, []).push('config/settings.yml')
set :linked_files, fetch(:linked_files, []).push('config/settings.yml', 'config/honeybadger.yml')

# Default value for linked_dirs is []
# set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')
Expand All @@ -30,3 +30,5 @@
end
end
end

set :honeybadger_env, fetch(:stage)

0 comments on commit b35ea75

Please sign in to comment.