ruby-on-rails – 没有这样的文件或目录(public / assets / manifest *)

在我的导轨(3.2.16v)部署与capistrano v3我收到以下错误.

$cap开发部署 – 跟踪

DEBUG [014a40e4] Running /usr/bin/env [ -L /home/ec2-user/capistrano-3/my_app/releases/20140117124107/public/assets ] on 50.13.220.55
DEBUG [014a40e4] Command: [ -L /home/ec2-user/capistrano-3/my_app/releases/20140117124107/public/assets ]
DEBUG [014a40e4] Finished in 0.602 seconds with exit status 1 (Failed).
DEBUG [9c5901ab] Running /usr/bin/env [ -d /home/ec2-user/capistrano-3/my_app/releases/20140117124107/public/assets ] on 50.13.220.55
DEBUG [9c5901ab] Command: [ -d /home/ec2-user/capistrano-3/my_app/releases/20140117124107/public/assets ]
DEBUG [9c5901ab] Finished in 0.639 seconds with exit status 1 (Failed).

////这个错误是跟踪的结尾

**调用部署:assets:backup_manifest(first_time)

**执行deploy:asset:backup_manifest

DEBUG [a08f4c02]    cp: 
DEBUG [a08f4c02]    cannot stat `/home/ec2-user/capistrano-3/my_app/releases/20140117064709/public/assets/manifest*'
DEBUG [a08f4c02]    : No such file or directory
DEBUG [a08f4c02]    
cap aborted!
cp stdout: nothing written
cp stderr: nothing written

Tasks: TOP => deploy:assets:backup_manifest
The deploy has Failed with an error: #<SSHKit::Command::Failed: cp stdout: nothing written
cp stderr: nothing written
>
** Invoke deploy:Failed (first_time)
** Execute deploy:Failed

我的本地机器中没有任何资产文件夹.有谁能够帮助我??

解决方法

这种情况发生在链轮3.0.x和capistrano-rails上,似乎用capistrano-rails 1.1.3修复.

https://github.com/capistrano/rails/blob/master/CHANGELOG.md#113-apr-18-2015https://github.com/capistrano/rails/issues/111

相关文章

validates:conclusion,:presence=>true,:inclusion=>{...
一、redis集群搭建redis3.0以前,提供了Sentinel工具来监控各...
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣...
上一篇博文 ruby传参之引用类型 里边定义了一个方法名 mo...
一编程与编程语言 什么是编程语言? 能够被计算机所识别的表...
Ruby类和对象Ruby是一种完美的面向对象编程语言。面向对象编...