Missing current folder Capistrano Rails 3.2

后端 未结 2 481
小鲜肉
小鲜肉 2021-01-14 23:49

I need to understand why capistrano doesn\'t create the folder current. I\'m using the following command : cap deploy:setup, cap deploy:check, cap deploy

But when i

2条回答
  •  清歌不尽
    2021-01-14 23:52

    Capistrano creates a current symlink (not directory) as one of the last steps in it's deployment cycle, generally right before the application server gets sent a start/restart command. It cannot create that symlink before deploying as there is nothing to symlink to (no checkouts in /releases).

    If it's still not creating the symlink, check your capistrano deploy logs for an error, it won't create the symlink if it has an error before making it to that point. And if there is an error, please post it in your question.

提交回复
热议问题