From 5e458a3e4861885228ff8e984496718270680b6e Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 8 Oct 2015 13:02:19 -0400 Subject: [PATCH] Add bullet --- Gemfile | 1 + Gemfile.lock | 5 +++++ config/environments/development.rb | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/Gemfile b/Gemfile index 694dd25..9363e90 100644 --- a/Gemfile +++ b/Gemfile @@ -33,5 +33,6 @@ group :development do gem 'web-console', '~> 2.0' gem 'spring' gem 'rails-erd' + gem 'bullet' end diff --git a/Gemfile.lock b/Gemfile.lock index 36c87a2..02f487d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,6 +57,9 @@ GEM autoprefixer-rails (>= 5.0.0.1) sass (>= 3.3.0) builder (3.2.2) + bullet (4.14.7) + activesupport (>= 3.0.0) + uniform_notifier (~> 1.9.0) byebug (6.0.2) choice (0.2.0) coderay (1.1.0) @@ -196,6 +199,7 @@ GEM uglifier (2.7.2) execjs (>= 0.3.0) json (>= 1.8.0) + uniform_notifier (1.9.0) web-console (2.2.1) activemodel (>= 4.0) binding_of_caller (>= 0.7.2) @@ -208,6 +212,7 @@ PLATFORMS DEPENDENCIES better_errors bootstrap-sass + bullet byebug coffee-rails (~> 4.1.0) dotenv-rails diff --git a/config/environments/development.rb b/config/environments/development.rb index b55e214..5a88c23 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -38,4 +38,9 @@ Rails.application.configure do # Raises error for missing translations # config.action_view.raise_on_missing_translations = true + config.after_initialize do + Bullet.enable = true + Bullet.bullet_logger = true + Bullet.add_footer = true + end end