passenger 部署Rails项目后不写log

Posted by wxianfeng Mon, 24 Oct 2011 05:15:00 GMT

最近部署一个项目,采用的是centos + nginx+ passenger

发现rails project不打log, 是文件权限问题,passenger 规定文件权限不能是root ,如果你部署在ubuntu就不会有这个问题


       |-- current
       |-- releases
       |-- shared


>useradd deploy
>chown -R deploy:deploy lecai

This entry was posted on Mon, 24 Oct 2011 05:15:00 GMT and Posted in , . You can follow any any response to this entry through the Atom feed. You can leave a comment or a trackback from your own site.



Use the following link to trackback from your own site:


  1. Avatar
    greece ferry about {{count}} years ago:

    Hello there, I found yohr web site by way of Google
    whilst looking for a comparable subject, ykur web site came up, it looks good.
    I’ve bookmarked it in my google bookmarks.
    Hello there, simply turned into aware of yohr weblog viia Google, and foound that
    it’s truly informative. I’m goiing to watch out for brussels.
    I’ll appreciate should you proceed this in future.
    Many folks will likely be benefited out of your writing.

Leave a comment