When I run my cap deploy, it complains that it can’t access the log file:
Rails Error: Unable to access log file. Please ensure that
/var/superduperapp/releases/20120329011558/log/production.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.
It seems that I have to manually create a log folder. Is there a way to do this with Capistrano so whoever is deploying it doesn’t have to remember to create the folder each time they do a new deploy?
These folders should be created by capistrano when you run
cap deploy:setup, have you ran it? To check if everything is fine you can runcap deploy:checkbefore it.