debian-mirror-gitlab/config/initializers/bullet.rb
2017-08-17 22:00:37 +05:30

11 lines
253 B
Ruby

if defined?(Bullet) && ENV['ENABLE_BULLET']
Rails.application.configure do
config.after_initialize do
Bullet.enable = true
Bullet.bullet_logger = true
Bullet.console = true
Bullet.raise = Rails.env.test?
end
end
end