Warning fix: Force the log/ directory to exist
When running 'rake', 'script/about', or any other command in fresh checkout of Mephisto, Rails will display the following warning: Rails Error: Unable to access log file. Please ensure that /.../mephisto/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. To fix this, the user must manually 'mkdir log'. This problem occurs because git doesn't allow empty directories to be checked into version control, and because Rails 2.0 isn't smart enough to create the log/ directory when needed. We can remove this file once Mephisto has been ported to Rails 2.2, which knows how to create the log/ directory automatically.
|@@ -0,0 +1,3 @@|
|+This directory is used to store log files. This README file only exists so|
|+that git will create this directory automatically when making a checkout of|