Skip to content
This repository
Browse code

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
  • Loading branch information...
commit 6e5a7340e697e89ecab98b4c60ee346b8ed9a741 1 parent d2fefbe
David Heinemeier Hansson dhh authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  railties/fresh_rakefile
2  railties/fresh_rakefile
@@ -96,7 +96,7 @@ Rake::RDocTask.new("apidoc") { |rdoc|
96 96 }
97 97
98 98 desc "Report code statistics (KLOCs, etc) from the application"
99   -task :stats do
  99 +task :stats => [ :environment ] do
100 100 require 'code_statistics'
101 101 CodeStatistics.new(
102 102 ["Helpers", "app/helpers"],

0 comments on commit 6e5a734

Please sign in to comment.
Something went wrong with that request. Please try again.