diff --git a/Gemfile b/Gemfile index 2db3ac3..c1b10d7 100644 --- a/Gemfile +++ b/Gemfile @@ -36,6 +36,8 @@ gem 'bcrypt', '~> 3.1.7' # Use ActiveStorage variant # gem 'mini_magick', '~> 4.8' +gem 'naught' + # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.1.0', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 65be68a..a8385ca 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -141,6 +141,7 @@ GEM msgpack (1.2.4) multi_json (1.13.1) mysql2 (0.5.1) + naught (1.1.0) net-scp (1.2.1) net-ssh (>= 2.6.5) net-ssh (4.2.0) @@ -295,6 +296,7 @@ DEPENDENCIES letter_opener_web listen (>= 3.0.5, < 3.2) mysql2 (>= 0.4.4, < 0.6.0) + naught pry-byebug pry-rails puma (~> 3.11) diff --git a/lib/null_logger.rb b/lib/null_logger.rb new file mode 100644 index 0000000..a15f514 --- /dev/null +++ b/lib/null_logger.rb @@ -0,0 +1,3 @@ +require "naught" + +NullLogger = Naught.build