aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-03-06 14:14:47 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-03-06 14:14:47 +0000
commit6e5a7340e697e89ecab98b4c60ee346b8ed9a741 (patch)
treea719ca3f27db966bb124d35593fa7ffad171e29c
parentd2fefbe908db879745df854787653113a6bcbfac (diff)
downloadrails-6e5a7340e697e89ecab98b4c60ee346b8ed9a741.tar.gz
rails-6e5a7340e697e89ecab98b4c60ee346b8ed9a741.tar.bz2
rails-6e5a7340e697e89ecab98b4c60ee346b8ed9a741.zip
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
-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"],