From f690de76b060cf09421e3e47527432d27fd30c19 Mon Sep 17 00:00:00 2001 From: Mike Kanning Date: Mon, 14 Sep 2020 16:24:42 -0400 Subject: [PATCH] install and configure honeybadger --- .ruby-version | 1 + Gemfile | 2 ++ Gemfile.lock | 2 ++ config/honeybadger.yml | 2 ++ 4 files changed, 7 insertions(+) create mode 100644 .ruby-version create mode 100644 config/honeybadger.yml diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..45674f16 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.3.3 \ No newline at end of file diff --git a/Gemfile b/Gemfile index 84a76875..3100f220 100644 --- a/Gemfile +++ b/Gemfile @@ -115,3 +115,5 @@ gem 'blacklight-ris', :git => 'https://github.com/upenn-libraries/blacklight-ris gem 'oga' gem 'httparty' + +gem 'honeybadger' diff --git a/Gemfile.lock b/Gemfile.lock index af70dab8..0ced0530 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -175,6 +175,7 @@ GEM globalid (0.3.7) activesupport (>= 4.1.0) hashie (3.6.0) + honeybadger (4.7.2) htmlentities (4.3.4) httparty (0.16.4) mime-types (~> 3.0) @@ -390,6 +391,7 @@ DEPENDENCIES dotenv-rails font-awesome-rails globalid (= 0.3.7) + honeybadger httparty jbuilder (= 2.6.0) jdbc-sqlite3 (= 3.8.11.2) diff --git a/config/honeybadger.yml b/config/honeybadger.yml new file mode 100644 index 00000000..532b13c6 --- /dev/null +++ b/config/honeybadger.yml @@ -0,0 +1,2 @@ +--- +api_key: <%= ENV['HONEYBADGER_API_KEY'] %>