2012-11-02 3 views
1

그래서 내가 카피 스트라 노의 도움으로 레일 웹 사이트 내 루비를 배포하려고했는데 오류를주고 내가 cap deploy:cold를 실행할 때이 내가 무엇을 얻을 수 있습니다 :실행 캡 배포는 : 차가운 명령은

C:\Sites\blog>cap deploy:cold 
    * ←[32m2012-11-02 00:47:49 executing `deploy:cold'←[0m 
    * ←[32m2012-11-02 00:47:49 executing `deploy:update'←[0m 
** transaction: start 
    * ←[32m2012-11-02 00:47:49 executing `deploy:update_code'←[0m 
    ←[33mexecuting locally: "git ls-remote [email protected]:averageAwesome/blog.gi 
t master"←[0m 
    ←[2;37mcommand finished in 2686ms←[0m 
    * ←[33mexecuting "git clone --depth 1 [email protected]:averageAwesome/blog.git/
var/chroot/home/content/39/10025539/html/blow4849/blog/releases/20121102004752 & 
& cd /var/chroot/home/content/39/10025539/html/blow4849/blog/releases/2012110200 
4752 && git checkout -b deploy 700dd36e9e5476880fea92c48bffcfb6ff455fe8 && git s 
ubmodule init && git submodule sync && export GIT_RECURSIVE=$([ ! \"`git --versi 
on`\" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule update - 
-init $GIT_RECURSIVE && rm -Rf /var/chroot/home/content/39/10025539/html/blow48 
49/blog/releases/20121102004752/.git && (echo 700dd36e9e5476880fea92c48bffcfb6ff 
455fe8 > /var/chroot/home/content/39/10025539/html/blow4849/blog/releases/20121 
102004752/REVISION)"←[0m 
    servers: ["188.121.54.128"] 
Password: 
    [188.121.54.128] executing command 
** ←[35m[188.121.54.128 :: out] sh: git: command not found←[0m 
    ←[2;37mcommand finished in 164ms←[0m 
*** [←[34mdeploy:update_code←[0m] ←[34mrolling back←[0m 
    * ←[33mexecuting "rm -rf /var/chroot/home/content/39/10025539/html/blow4849/b 
log/releases/20121102004752; true"←[0m 
    servers: ["188.121.54.128"] 
    [188.121.54.128] executing command 
    ←[2;37mcommand finished in 131ms←[0m 
failed: "sh -c 'git clone --depth 1 [email protected]:averageAwesome/blog.git /var/ 
chroot/home/content/39/10025539/html/blow4849/blog/releases/20121102004752 && cd 
/var/chroot/home/content/39/10025539/html/blow4849/blog/releases/20121102004752 
&& git checkout -b deploy 700dd36e9e5476880fea92c48bffcfb6ff455fe8 && git submo 
dule init && git submodule sync && export GIT_RECURSIVE=$([ ! \"`git --version`\ 
" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule update --ini 
t $GIT_RECURSIVE && rm -Rf /var/chroot/home/content/39/10025539/html/blow4849/b 
log/releases/20121102004752/.git && (echo 700dd36e9e5476880fea92c48bffcfb6ff455f 
e8 > /var/chroot/home/content/39/10025539/html/blow4849/blog/releases/201211020 
04752/REVISION)'" on 188.121.54.128 

하나를 아이디어가 잘못 될 수 있습니다 ??

답변

0

예. 이것은 중요한 라인 :

** ←[35m[188.121.54.128 :: out] sh: git: command not found←[0m 

당신은 당신의 배포 서버에 git를 설치하지 않은, 또는 경우, 그것은 배포 사용자의 경로에 아니에요.

+0

감사합니다. 오늘 생각합니다. – Dennis

+0

내 배포 서버에 git가 설치되어 있습니다. :) – Dennis