aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/performance
diff options
context:
space:
mode:
Diffstat (limited to 'railties/bin/performance')
-rwxr-xr-xrailties/bin/performance/benchmarker2
-rwxr-xr-xrailties/bin/performance/profiler2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/bin/performance/benchmarker b/railties/bin/performance/benchmarker
index c842d35d33..3bff809fb3 100755
--- a/railties/bin/performance/benchmarker
+++ b/railties/bin/performance/benchmarker
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + '/../../config/boot'
+require File.expand_path('../../../config/boot', __FILE__)
require 'commands/performance/benchmarker'
diff --git a/railties/bin/performance/profiler b/railties/bin/performance/profiler
index d855ac8b13..07640575cd 100755
--- a/railties/bin/performance/profiler
+++ b/railties/bin/performance/profiler
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-require File.dirname(__FILE__) + '/../../config/boot'
+require File.expand_path('../../../config/boot', __FILE__)
require 'commands/performance/profiler'