From 9dc9f92e6a73cfdb0b229a882bec33ace3329e58 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 9 Jul 2014 23:32:19 -0400 Subject: temporarily add ruby-prof --- Gemfile | 1 + Gemfile.lock | 2 ++ config.ru | 1 + 3 files changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 19d27f7..035db86 100644 --- a/Gemfile +++ b/Gemfile @@ -76,3 +76,4 @@ end # Use debugger # gem 'debugger', group: [:development, :test] # gem 'byebug', group: [:development, :test] +gem 'ruby-prof' diff --git a/Gemfile.lock b/Gemfile.lock index daed0bc..8003f2a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -101,6 +101,7 @@ GEM rdoc (4.1.1) json (~> 1.4) ref (1.0.5) + ruby-prof (0.15.1) sass (3.2.19) sass-rails (4.0.3) railties (>= 4.0.0, < 5.0) @@ -154,6 +155,7 @@ DEPENDENCIES mailboxer pg rails (= 4.0.2) + ruby-prof sass-rails (~> 4.0.0) sdoc simple_captcha2 diff --git a/config.ru b/config.ru index 5bc2a61..a90174c 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,5 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) +use Rack::RubyProf, :path => '/home/leaguer/public/ruby-prof' run Rails.application -- cgit v1.2.3