У меня есть серьезные проблемы с развертыванием приложения rails 3.В StackOverflow нет сообщения с ответом на эту проблему.
Кто-нибудь мог случиться так с ними и знает, как это исправить?Заранее спасибо.
dev:test me$ cap deploy
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote ssh://root@myserver.net/srv/test master"
root@myserver.net's password:
command finished in 4102ms
* executing "git clone --depth 1 ssh://root@myserver.net/srv/test /srv/test/releases/20111025125230 && cd /srv/test/releases/20111025125230 && git checkout -b deploy eb6e04f696aed7a13ee58633ca68902a010685b0 && git submodule init && git submodule sync && export GIT_RECURSIVE=$([ ! \"`git --version`\" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule update --init $GIT_RECURSIVE && rm -Rf /srv/test/releases/20111025125230/.git && (echo eb6e04f696aed7a13ee58633ca68902a010685b0 > /srv/test/releases/20111025125230/REVISION)"
servers: ["myserver.net"]
Password:
[myserver.net] executing command
** [myserver.net :: out] Initialized empty Git repository in /srv/test/releases/20111025125230/.git/
** [myserver.net :: out] root@myserver.net's password:
Password:
** [myserver.net :: out]
** [myserver.net :: out] fatal: '/srv/test' does not appear to be a git repository
** [myserver.net :: out] fatal: The remote end hung up unexpectedly
command finished in 3930ms
*** [deploy:update_code] rolling back
* executing "rm -rf /srv/test/releases/20111025125230; true"
servers: ["myserver.net"]
[myserver.net] executing command
command finished in 920ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell '@global' -c 'git clone --depth 1 ssh://root@myserver.net/srv/test /srv/test/releases/20111025125230 && cd /srv/test/releases/20111025125230 && git checkout -b deploy eb6e04f696aed7a13ee58633ca68902a010685b0 && git submodule init && git submodule sync && export GIT_RECURSIVE=$([ ! \"`git --version`\" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule update --init $GIT_RECURSIVE && rm -Rf /srv/test/releases/20111025125230/.git && (echo eb6e04f696aed7a13ee58633ca68902a010685b0 > /srv/test/releases/20111025125230/REVISION)'" on myserver.net
dev:test me$