0
我只是想用我的一个应用程序移动到新的服务器,所以我设置capistrano与capistrano-unicorn部署代码。capistrano-unicorn部署错误-chmod
我用gem details来设置。
但我得到一个错误(以及之后的回滚),我无法与独角兽或capistrano设置连接。
错误如下:
* executing "chmod -R -- g+w \\~/www/elmor.org.ua/releases/20130218122242 && rm -rf --
\\~/www/elmor.org.ua/releases/20130218122242/public/system && mkdir -p -- \\~/www/elmor.org.ua/releases/20130218122242/public/ && ln -s -- ~/www/elmor.org.ua/shared/system \\~/www/elmor.org.ua/releases/20130218122242/public/system && rm -rf -- \\~/www/elmor.org.ua/releases/20130218122242/log && ln -s -- ~/www/elmor.org.ua/shared/log \\~/www/elmor.org.ua/releases/20130218122242/log && rm -rf -- \\~/www/elmor.org.ua/releases/20130218122242/tmp/pids && mkdir -p -- \\~/www/elmor.org.ua/releases/20130218122242/tmp/ && ln -s -- ~/www/elmor.org.ua/shared/pids \\~/www/elmor.org.ua/releases/20130218122242/tmp/pids"
servers: ["elmor.org.ua"]
[elmor.org.ua] executing command
** [out :: elmor.org.ua] chmod: ���������� �������� ������ � �~/www/elmor.org.ua/releases/20130218122242�: ��� ������ ����� ��� �������
command finished in 73ms
*** [deploy:update_code] rolling back
如何解决这个问题?请帮忙!