From 6e5a7340e697e89ecab98b4c60ee346b8ed9a741 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 6 Mar 2005 14:14:47 +0000 Subject: [PATCH] stats need the include paths set by the environment #782 [adamm] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/fresh_rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"],