diff --git a/Gemfile b/Gemfile index cbb8a75..2596062 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,7 @@ end gem 'bootsnap', require: false gem 'bootstrap', '~> 4.0.0.alpha6' +gem 'bugsnag' gem 'coffee-rails', '~> 4.2' gem 'devise' gem 'font-awesome-rails' diff --git a/Gemfile.lock b/Gemfile.lock index 2587588..e0a35b1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -56,6 +56,8 @@ GEM bootstrap (4.0.0.alpha6) autoprefixer-rails (>= 6.0.3) sass (>= 3.4.19) + bugsnag (6.6.2) + concurrent-ruby (~> 1.0) builder (3.2.3) byebug (9.0.6) capybara (2.15.1) @@ -358,6 +360,7 @@ PLATFORMS DEPENDENCIES bootsnap bootstrap (~> 4.0.0.alpha6) + bugsnag byebug capybara coffee-rails (~> 4.2) diff --git a/config/initializers/bugsnag.rb b/config/initializers/bugsnag.rb new file mode 100644 index 0000000..3b6d7ae --- /dev/null +++ b/config/initializers/bugsnag.rb @@ -0,0 +1,3 @@ +Bugsnag.configure do |config| + config.api_key = ENV['BUGSNAG_API_KEY'] +end