Please sign in to comment.
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.
- Loading branch information...