aboutsummaryrefslogtreecommitdiffstats
path: root/script/performance
diff options
context:
space:
mode:
authorJames McKinney <james@slashpoundbang.com>2012-04-02 17:25:07 +0100
committerRobin Houston <robin.houston@gmail.com>2012-04-02 17:43:25 +0100
commit950e8ed8e0e611ed2a652dac78537b5eda12bfe7 (patch)
treec4f4c687d14a7453f701b01dc7b28d682aee556a /script/performance
parent4a103dde4a455d6d19267c16fadfa281cc7047b0 (diff)
fix require paths in 1.9
Diffstat (limited to 'script/performance')
-rwxr-xr-xscript/performance/benchmarker2
-rwxr-xr-xscript/performance/profiler2
-rwxr-xr-xscript/performance/request2
3 files changed, 3 insertions, 3 deletions
diff --git a/script/performance/benchmarker b/script/performance/benchmarker
index a94253aba..28bfceea0 100755
--- a/script/performance/benchmarker
+++ b/script/performance/benchmarker
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + '/../../config/boot.rb'
+require File.expand_path(File.dirname(__FILE__) + '/../config/boot.rb')
require 'commands/performance/benchmarker'
diff --git a/script/performance/profiler b/script/performance/profiler
index e9e5b071d..11baf44f2 100755
--- a/script/performance/profiler
+++ b/script/performance/profiler
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + '/../../config/boot.rb'
+require File.expand_path(File.dirname(__FILE__) + '/../config/boot.rb')
require 'commands/performance/profiler'
diff --git a/script/performance/request b/script/performance/request
index 658c80ef2..fff6fe660 100755
--- a/script/performance/request
+++ b/script/performance/request
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + '/../../config/boot.rb'
+require File.expand_path(File.dirname(__FILE__) + '/../config/boot.rb')
require 'commands/performance/request'