aboutsummaryrefslogtreecommitdiffstats
path: root/railties/fresh_rakefile
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-09-01 21:36:50 +0000
committerJamis Buck <jamis@37signals.com>2005-09-01 21:36:50 +0000
commit49c67ea1b7411ea8c73fcba45fe15e76f8697282 (patch)
tree6189e855f7ddf12d9fee9626521b9d1e7e53627a /railties/fresh_rakefile
parent8373b55055f421bb48c375f69d85f6dbbe679649 (diff)
downloadrails-49c67ea1b7411ea8c73fcba45fe15e76f8697282.tar.gz
rails-49c67ea1b7411ea8c73fcba45fe15e76f8697282.tar.bz2
rails-49c67ea1b7411ea8c73fcba45fe15e76f8697282.zip
Don't require the environment just to clear the logs #2093 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/fresh_rakefile')
-rwxr-xr-xrailties/fresh_rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile
index 4e557d53ac..6056508f5a 100755
--- a/railties/fresh_rakefile
+++ b/railties/fresh_rakefile
@@ -199,7 +199,7 @@ task :purge_test_database => :environment do
end
desc "Clears all *.log files in log/"
-task :clear_logs => :environment do
+task :clear_logs do
FileList["log/*.log"].each do |log_file|
f = File.open(log_file, "w")
f.close