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

前端之家收集整理的这篇文章主要介绍了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

原文链接:https://www.f2er.com/ruby/272689.html

猜你在找的Ruby相关文章