Missing current folder Capistrano Rails 3.2

后端 未结 2 465
小鲜肉
小鲜肉 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:55

    It could fail due to folder permissions also. If the option

    set :use_sudo, false
    

    was not present when the first time cap was deployed, the current folder have sudo as the owner. When the user is changed, it might not have sufficient permissions to update the link. I deleted the symbolic link and ran

    cap deploy:create_symlink
    

    This updated the symbolic link for me.

提交回复
热议问题