Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我能';t使用capistrano和git部署到linode_Git_Ssh_Windows Vista_Capistrano_Linode - Fatal编程技术网

我能';t使用capistrano和git部署到linode

我能';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

尝试使用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 :: 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的操作系统