aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/perform/benchmarker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/perform/benchmarker.rb')
-rw-r--r--railties/lib/commands/perform/benchmarker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/perform/benchmarker.rb b/railties/lib/commands/perform/benchmarker.rb
index b07ddcfcb2..7e14de7cc3 100644
--- a/railties/lib/commands/perform/benchmarker.rb
+++ b/railties/lib/commands/perform/benchmarker.rb
@@ -5,7 +5,7 @@ if ARGV.empty?
exit
end
-require File.dirname(__FILE__) + '/../config/environment'
+require RAILS_ROOT + '/config/environment'
require 'benchmark'
include Benchmark