ruby-on-rails – 没有这样的文件或目录(public / assets / mani
发布时间:2020-12-16 20:07:10 所属栏目:百科 来源:网络整理
导读:在我的导轨(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.55DEBUG [014a40e4] Command: [ -L
在我的导轨(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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |