Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Commit cbdc7ce

Browse files
committed
Merge pull request #574 from YaleSTC/574_speed_testing
Speed-testing
2 parents 6c5e673 + 48596ca commit cbdc7ce

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ group :development do
8585
gem 'pry-remote'
8686
gem 'letter_opener'
8787
gem 'letter_opener_web', '~> 1.1.0'
88+
gem 'rack-mini-profiler'
89+
gem 'bullet'
8890
end
8991

9092
group :production, :staging do

Gemfile.lock

+8
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ GEM
6565
sass (~> 3.2)
6666
thor
6767
builder (3.0.4)
68+
bullet (4.11.3)
69+
activesupport (>= 3.0.0)
70+
uniform_notifier (>= 1.6.0)
6871
byebug (2.7.0)
6972
columnize (~> 0.3)
7073
debugger-linecache (~> 1.2)
@@ -244,6 +247,8 @@ GEM
244247
rack (1.4.5)
245248
rack-cache (1.2)
246249
rack (>= 0.4)
250+
rack-mini-profiler (0.9.2)
251+
rack (>= 1.1.3)
247252
rack-ssl (1.3.4)
248253
rack
249254
rack-test (0.6.2)
@@ -352,6 +357,7 @@ GEM
352357
uglifier (2.2.1)
353358
execjs (>= 0.3.0)
354359
multi_json (~> 1.0, >= 1.0.2)
360+
uniform_notifier (1.6.2)
355361
warden (1.2.3)
356362
rack (>= 1.0)
357363
websocket (1.0.7)
@@ -370,6 +376,7 @@ DEPENDENCIES
370376
airbrake
371377
awesome_print
372378
bootstrap-sass (~> 2.0.3)
379+
bullet
373380
cancan
374381
capistrano
375382
capybara (~> 2.0.0)
@@ -402,6 +409,7 @@ DEPENDENCIES
402409
pry-rails
403410
pry-remote
404411
pry-stack_explorer
412+
rack-mini-profiler
405413
rails (= 3.2.14)
406414
rails3-jquery-autocomplete
407415
rake

config/environments/development.rb

+11
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,15 @@
3636

3737
# Set Paperclip path
3838
Paperclip.options[:command_path] = '/usr/local/bin'
39+
40+
config.after_initialize do
41+
Bullet.enable = true
42+
# Bullet.alert = true
43+
Bullet.bullet_logger = true
44+
Bullet.console = true
45+
Bullet.rails_logger = true
46+
# Bullet.bugsnag = true
47+
# Bullet.add_footer = true
48+
# Bullet.stacktrace_includes = [ 'your_gem', 'your_middleware' ]
49+
end
3950
end

0 commit comments

Comments
 (0)