From 4cdd7dd21a5c65efd8c26a76ac21208a8d6cbcf4 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Sat, 20 Feb 2021 09:55:21 -0800 Subject: [PATCH] Add annotate gem --- Gemfile | 1 + Gemfile.lock | 4 ++++ config/initializers/sentry.rb | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index afae26db..3fa33ff0 100644 --- a/Gemfile +++ b/Gemfile @@ -240,6 +240,7 @@ group :development do gem 'web-console' # as development database gem 'sqlite3' + gem 'annotate' end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 9fce2848..fb64fb9b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -70,6 +70,9 @@ GEM afm (0.2.2) ajax-datatables-rails (0.4.3) railties (>= 4.0) + annotate (3.1.1) + activerecord (>= 3.2, < 7.0) + rake (>= 10.4, < 14.0) archive-zip (0.12.0) io-like (~> 0.3.0) arel (9.0.0) @@ -624,6 +627,7 @@ DEPENDENCIES acts_as_commentable_with_threading acts_as_list ajax-datatables-rails + annotate autoprefixer-rails awesome_nested_set axlsx! diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index 1daf0745..e42fcce6 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -1,4 +1,4 @@ Sentry.init do |config| - config.allowed_environments = %|production staging| + config.enabled_environments = %|production staging| config.dsn = ENV['SENTRY_DSN'] end