我能';t使用capistrano和git部署到linode
尝试使用capistrano和git部署时,我遇到以下错误:我能';t使用capistrano和git部署到linode,git,ssh,windows-vista,capistrano,linode,Git,Ssh,Windows Vista,Capistrano,Linode,尝试使用capistrano和git部署时,我遇到以下错误: [178.79.133.74] executing command ** [178.79.133.74 :: out] Initialized empty Git repository in /var/www/depot31/shared /cached-copy/.git/ ** [178.79.133.74 :: err] Host key verification failed. ** [178.79.133.74
[178.79.133.74] executing command
** [178.79.133.74 :: out] Initialized empty Git repository in /var/www/depot31/shared /cached-copy/.git/
** [178.79.133.74 :: err] Host key verification failed.
** [178.79.133.74 :: err] fatal: The remote end hung up unexpectedly
command finished in 292ms
failed: "sh -c 'if [ -d /var/www/depot31/shared/cached-copy ]; then cd /var/www/depot31/shared/cached-copy && git fetch orig
in && git fetch --tags origin && git reset --hard aac2d7abf5281d7fb4993e39fc534ba44dd8d240 && git clean -d -x -f; else git
clone root@178.79.133.74:git/depot31.git /var/www/depot31/shared/cached-copy && cd /var/www/depot31/shared/cached-copy && git checkout -b deploy aac2d7abf5281d7fb4993e39fc534ba44dd8d240; fi'" on 178.79.133.74
有什么线索导致它吗?问题是,鉴于我试图在RVM环境中部署,capistrano试图从我的开发机器中获取RVM环境变量,但它找不到它们,因为RVM仅在基于UNIX的操作系统上工作 因此,归根结底,主要问题是Windows。我现在切换到基于UNIX的操作系统