Add bullet
This commit is contained in:
parent
1655d48d21
commit
5e458a3e48
3 changed files with 11 additions and 0 deletions
1
Gemfile
1
Gemfile
|
@ -33,5 +33,6 @@ group :development do
|
|||
gem 'web-console', '~> 2.0'
|
||||
gem 'spring'
|
||||
gem 'rails-erd'
|
||||
gem 'bullet'
|
||||
end
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue