2014-03-05 40 views
0

试图将一个简单的导轨部署到使用橡胶的ec2上。进程因以下错误而失败。一直在努力寻找解决方案的日子,但无法弄清楚。橡胶在'deploy:update_code'中失败

任何人都知道它为什么会失败?

* 2014-03-05 15:20:13 executing `deploy:setup' 
    * executing "sudo -p 'sudo password: ' mkdir -p /mnt/bott.ly-production /mnt/bott.ly-production/releases /mnt/bott.ly-production/shared /mnt/bott.ly-production/shared/system /mnt/bott.ly-production/shared/log /mnt/bott.ly-production/shared/pids" 
    servers: ["staging.bott.ly"] 
    [staging.bott.ly] executing command 
    command finished in 1134ms 
    * executing "sudo -p 'sudo password: ' chmod g+w /mnt/bott.ly-production /mnt/bott.ly-production/releases /mnt/bott.ly-production/shared /mnt/bott.ly-production/shared/system /mnt/bott.ly-production/shared/log /mnt/bott.ly-production/shared/pids" 
    servers: ["staging.bott.ly"] 
    [staging.bott.ly] executing command 
    command finished in 1439ms 
    triggering after callbacks for `rubber:bootstrap' 
    * 2014-03-05 15:20:17 executing `rubber:collectd:bootstrap' 
    * executing "echo $(grep Rubber /etc/collectd/collectd.conf 2> /dev/null)" 
    servers: ["staging.bott.ly"] 
    [staging.bott.ly] executing command 
    command finished in 1208ms 
    * 2014-03-05 15:20:20 executing `deploy:setup' 
    * executing "sudo -p 'sudo password: ' mkdir -p /mnt/bott.ly-production /mnt/bott.ly-production/releases /mnt/bott.ly-production/shared /mnt/bott.ly-production/shared/system /mnt/bott.ly-production/shared/log /mnt/bott.ly-production/shared/pids" 
    servers: ["staging.bott.ly"] 
    [staging.bott.ly] executing command 
    command finished in 1187ms 
    * executing "sudo -p 'sudo password: ' chmod g+w /mnt/bott.ly-production /mnt/bott.ly-production/releases /mnt/bott.ly-production/shared /mnt/bott.ly-production/shared/system /mnt/bott.ly-production/shared/log /mnt/bott.ly-production/shared/pids" 
    servers: ["staging.bott.ly"] 
    [staging.bott.ly] executing command 
    command finished in 269ms 
** updating code for bootstrap 
    * 2014-03-05 15:20:24 executing `deploy:update_code' 
    * getting (via checkout) revision to C:/Users/solanmi/AppData/Local/Temp/20140305142024 
    executing locally: xcopy . "C:/Users/solanmi/AppData/Local/Temp/20140305142024" /S/I/Y/Q/E 
378 File(s) copied 
    command finished in 4328ms 
    * processing exclusions... 
    * Compressing C:/Users/solanmi/AppData/Local/Temp/20140305142024 to C:/Users/solanmi/AppData/Local/Temp/20140305142024.tar.gz 
    executing locally: tar czf 20140305142024.tar.gz 20140305142024 
    command finished in 51ms 
shell command failed with return code pid 8760 exit 53 

回答

0

看起来你是从Windows部署和您可以在本地缺少tar命令,或者它不是在你的$PATH

如果你想使用Cygwin我建议你使用安装了它的Setup64Setup-x86程序。我认为tar软件包是安装的默认软件包之一。如果没有,你可以在这里找到它:http://gnuwin32.sourceforge.net/packages/gtar.htm

+0

嗨,你是对的,这是问题...安装bsdtar没有解决它,因为有其他错误。 在github johnnyshields/rubber上使用橡皮接口到windows上有什么帮助... – Mike

+0

这很酷。所以如果这是令人满意的答案,你能接受吗? – Rico