memprof
This commit is contained in:
parent
9d92161430
commit
8ee81314d6
3 changed files with 7 additions and 0 deletions
1
Gemfile
1
Gemfile
|
|
@ -1,4 +1,5 @@
|
||||||
source 'http://rubygems.org'
|
source 'http://rubygems.org'
|
||||||
|
gem 'memprof', '0.3.6'
|
||||||
|
|
||||||
gem 'mysql2', '0.2.6'
|
gem 'mysql2', '0.2.6'
|
||||||
gem 'rails', '3.0.3'
|
gem 'rails', '3.0.3'
|
||||||
|
|
|
||||||
|
|
@ -215,6 +215,9 @@ GEM
|
||||||
i18n (>= 0.4.0)
|
i18n (>= 0.4.0)
|
||||||
mime-types (~> 1.16)
|
mime-types (~> 1.16)
|
||||||
treetop (~> 1.4.8)
|
treetop (~> 1.4.8)
|
||||||
|
memprof (0.3.6)
|
||||||
|
rest-client (>= 1.4.2)
|
||||||
|
term-ansicolor
|
||||||
mime-types (1.16)
|
mime-types (1.16)
|
||||||
mini_magick (3.2)
|
mini_magick (3.2)
|
||||||
subexec (~> 0.0.4)
|
subexec (~> 0.0.4)
|
||||||
|
|
@ -416,6 +419,7 @@ DEPENDENCIES
|
||||||
jasmine!
|
jasmine!
|
||||||
json (= 1.4.6)
|
json (= 1.4.6)
|
||||||
launchy
|
launchy
|
||||||
|
memprof (= 0.3.6)
|
||||||
mini_magick (= 3.2)
|
mini_magick (= 3.2)
|
||||||
mongrel
|
mongrel
|
||||||
mysql2 (= 0.2.6)
|
mysql2 (= 0.2.6)
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,7 @@
|
||||||
require ::File.expand_path('../config/environment', __FILE__)
|
require ::File.expand_path('../config/environment', __FILE__)
|
||||||
require ::File.expand_path('../lib/chrome_frame', __FILE__)
|
require ::File.expand_path('../lib/chrome_frame', __FILE__)
|
||||||
|
|
||||||
|
require 'memprof/middleware'
|
||||||
|
use Memprof::Middleware
|
||||||
use Rack::ChromeFrame, :minimum => 8
|
use Rack::ChromeFrame, :minimum => 8
|
||||||
run Diaspora::Application
|
run Diaspora::Application
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue