aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrailties/fresh_rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile
index 833b62974a..394e0c3d2a 100755
--- a/railties/fresh_rakefile
+++ b/railties/fresh_rakefile
@@ -96,7 +96,7 @@ Rake::RDocTask.new("apidoc") { |rdoc|
}
desc "Report code statistics (KLOCs, etc) from the application"
-task :stats do
+task :stats => [ :environment ] do
require 'code_statistics'
CodeStatistics.new(
["Helpers", "app/helpers"],