【发布时间】:2025-12-24 00:25:54
【问题描述】:
我正在尝试使用 Capistrano 部署 Rails 应用程序,但由于没有清单文件而失败。
这是我运行cap production deploy时得到的:
01 mkdir -p /home/deploy/list/releases/20171220202012/assets_manif…
✔ 01 influencerlist.io 0.048s
WARN Rails assets manifest file not found.
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host influencerlist.io: Rails assets manifest file not found.
Caused by:
Capistrano::FileNotFound: Rails assets manifest file not found.
Tasks: TOP => deploy:assets:backup_manifest
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing on host influencerlist.io: Rails assets manifest file not found.
知道如何解决这个问题吗?我试图找到一个解决方案,但它们似乎都不起作用。
谢谢!
【问题讨论】:
-
你能告诉我们
cap production doctor的输出吗?确保编辑敏感信息(如果有)。
标签: ruby-on-rails-5 capistrano rvm-capistrano