I'm trying to deploy a rails app using Capistrano, but it fails because there's no manifest file.
This is what I get when I run 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.
Any idea how to solve this issue? I've tried to find a solution but none of them seem to work.
Thank you!
I solved it, and I'm surprised with the solution...
I created two empty files in /shared/public/assets called .manifest.json and .sprockets-manifest.json, and it worked.