diff --git a/Gemfile b/Gemfile index 90426b64c..00d583f91 100644 --- a/Gemfile +++ b/Gemfile @@ -98,6 +98,7 @@ group :development do gem 'listen', '~> 3.3' gem 'yard', require: false gem 'svg_sprite', require: false + gem 'bullet' end group :test do diff --git a/config/environments/development.rb b/config/environments/development.rb index 5b3ff43dc..d41e817f3 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -59,4 +59,10 @@ Rails.application.configure do # Uncomment if you wish to allow Action Cable access from any origin. # config.action_cable.disable_request_forgery_protection = true + + config.after_initialize do + Bullet.enable = true + Bullet.rails_logger = true + Bullet.skip_user_in_notification = true + end end