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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/performance/benchmarker.rb b/railties/lib/rails/commands/performance/benchmarker.rb
index e8804fe1bf..5039c5408c 100644
--- a/railties/lib/rails/commands/performance/benchmarker.rb
+++ b/railties/lib/rails/commands/performance/benchmarker.rb
@@ -10,9 +10,9 @@ rescue ArgumentError
N = 1
end
-require RAILS_ROOT + '/config/environment'
require 'benchmark'
include Benchmark
+Rails.application.new
# Don't include compilation in the benchmark
ARGV.each { |expression| eval(expression) }