aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/performance/benchmarker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/commands/performance/benchmarker.rb')
-rw-r--r--railties/lib/rails/commands/performance/benchmarker.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/performance/benchmarker.rb b/railties/lib/rails/commands/performance/benchmarker.rb
index e8804fe1bf..dfba4bf034 100644
--- a/railties/lib/rails/commands/performance/benchmarker.rb
+++ b/railties/lib/rails/commands/performance/benchmarker.rb
@@ -10,7 +10,6 @@ rescue ArgumentError
N = 1
end
-require RAILS_ROOT + '/config/environment'
require 'benchmark'
include Benchmark
@@ -21,4 +20,4 @@ bm(6) do |x|
ARGV.each_with_index do |expression, idx|
x.report("##{idx + 1}") { N.times { eval(expression) } }
end
-end
+end