Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@ group :development do

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'bullet'
end

5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ GEM
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
builder (3.2.2)
bullet (5.1.0)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.10.0)
byebug (9.0.5)
coderay (1.1.1)
coffee-rails (4.1.1)
Expand Down Expand Up @@ -193,6 +196,7 @@ GEM
thread_safe (~> 0.1)
uglifier (3.0.0)
execjs (>= 0.3.0, < 3)
uniform_notifier (1.10.0)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
Expand All @@ -210,6 +214,7 @@ PLATFORMS

DEPENDENCIES
bootstrap-sass (~> 3.3.6)
bullet
byebug
coffee-rails (~> 4.1.0)
coveralls
Expand Down
9 changes: 9 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@
# Raises helpful error messages.
config.assets.raise_runtime_errors = true

config.after_initialize do
#Enable bullet in your application
Bullet.enable = true
#Bullet.alert = true
Bullet.console = true
#Bullet.rails_logger = true
#Bullet.bullet_logger = true
end

# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
end