mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 01:26:18 -05:00
fixed ruby 2.0 p0 bug in fast_stack so re-pushing
This commit is contained in:
parent
b61d5c4092
commit
98267d439a
4 changed files with 14 additions and 3 deletions
3
Gemfile
3
Gemfile
|
@ -188,8 +188,7 @@ gem 'lru_redux'
|
|||
# If you want to amend mini profiler to do the monkey patches in the railstie
|
||||
# we are open to it. by deferring require to the initializer we can configure disourse installs without it
|
||||
|
||||
# gem 'rack-mini-profiler', '0.1.30', require: false
|
||||
# gem 'flamegraph', require: false
|
||||
gem 'flamegraph', require: false
|
||||
gem 'rack-mini-profiler', require: false
|
||||
|
||||
# used for caching, optional
|
||||
|
|
|
@ -188,9 +188,14 @@ GEM
|
|||
fast_blank (0.0.1)
|
||||
rake
|
||||
rake-compiler
|
||||
fast_stack (0.0.6)
|
||||
rake
|
||||
rake-compiler
|
||||
fast_xs (0.8.0)
|
||||
fastimage (1.3.0)
|
||||
ffi (1.8.1)
|
||||
flamegraph (0.0.2)
|
||||
fast_stack
|
||||
fog (1.14.0)
|
||||
builder
|
||||
excon (~> 0.25.0)
|
||||
|
@ -479,6 +484,7 @@ DEPENDENCIES
|
|||
fast_xor!
|
||||
fast_xs
|
||||
fastimage
|
||||
flamegraph
|
||||
fog
|
||||
handlebars-source (= 1.0.12)
|
||||
highline
|
||||
|
|
|
@ -216,9 +216,14 @@ GEM
|
|||
fast_blank (0.0.1)
|
||||
rake
|
||||
rake-compiler
|
||||
fast_stack (0.0.6)
|
||||
rake
|
||||
rake-compiler
|
||||
fast_xs (0.8.0)
|
||||
fastimage (1.5.0)
|
||||
ffi (1.9.0)
|
||||
flamegraph (0.0.2)
|
||||
fast_stack
|
||||
fog (1.14.0)
|
||||
builder
|
||||
excon (~> 0.25.0)
|
||||
|
@ -484,6 +489,7 @@ DEPENDENCIES
|
|||
fast_xor!
|
||||
fast_xs
|
||||
fastimage
|
||||
flamegraph
|
||||
fog
|
||||
handlebars-source (= 1.0.12)
|
||||
highline
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# If Mini Profiler is included via gem
|
||||
if Rails.configuration.respond_to?(:enable_mini_profiler) && Rails.configuration.enable_mini_profiler
|
||||
require 'rack-mini-profiler'
|
||||
# require 'flamegraph'
|
||||
require 'flamegraph'
|
||||
# initialization is skipped so trigger it
|
||||
Rack::MiniProfilerRails.initialize!(Rails.application)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue