aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-16 19:28:56 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-16 19:33:24 -0500
commit2f7217c76a68b048b15d2b8d821a2aa569ef924a (patch)
tree14b7fb8e5e6956ac669c43e7fe2cb87b960f9247 /railties/lib/rails/generators
parent7635c9f4c0f53714b46166224d604f0558b8525f (diff)
downloadrails-2f7217c76a68b048b15d2b8d821a2aa569ef924a.tar.gz
rails-2f7217c76a68b048b15d2b8d821a2aa569ef924a.tar.bz2
rails-2f7217c76a68b048b15d2b8d821a2aa569ef924a.zip
script/performance/benchmarker should require environment
Diffstat (limited to 'railties/lib/rails/generators')
-rwxr-xr-xrailties/lib/rails/generators/rails/app/templates/script/performance/benchmarker.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/script/performance/benchmarker.tt b/railties/lib/rails/generators/rails/app/templates/script/performance/benchmarker.tt
index 90aca9b4e9..9ebc4c92fc 100755
--- a/railties/lib/rails/generators/rails/app/templates/script/performance/benchmarker.tt
+++ b/railties/lib/rails/generators/rails/app/templates/script/performance/benchmarker.tt
@@ -1,3 +1,3 @@
<%= shebang %>
-require File.expand_path('../../../config/application', __FILE__)
+require File.expand_path('../../../config/environment', __FILE__)
require 'rails/commands/performance/benchmarker'