summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-09 23:32:19 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-09 23:32:19 -0400
commit9dc9f92e6a73cfdb0b229a882bec33ace3329e58 (patch)
treedf889f8a4ec8bb97fde53002df476b25a5a55935
parent32df12ee322bbe07b11758b87599ba192e4515d4 (diff)
temporarily add ruby-prof
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock2
-rw-r--r--config.ru1
3 files changed, 4 insertions, 0 deletions
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