在我的导轨(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-2015或https://github.com/capistrano/rails/issues/111
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。