當我跑我的帽子部署,它抱怨無法訪問日誌文件:帽部署不創建共享/日誌文件夾
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.
看來,我必須手動創建日誌文件夾。有沒有辦法與Capistrano做到這一點,所以無論是誰在部署它,都不必記得每次他們做一個新的部署時創建文件夾?
謝謝@shingara,爲我工作。現在我只需要弄清楚爲什麼我的Unicorn服務器除了在終端上不顯示任何內容外:'SIGWINCH被忽略,因爲我們沒有被守護進程'。嗯.. – 2014-01-15 05:42:56