Rails manifest file not found (deploying with Capistrano)
Solution 1:
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.
Solution 2:
If you use webpacker in your Rails application, and you have completely disabled Sprockets, you might get the following error when trying to deploy: Rails assets manifest file not found. This happens inside the deploy:assets:backup_manifest
task.
This task is build for Sprockets and does not work with webpacker. Simply skip it, by adding the following line to your config/deploy.rb
:
Rake::Task["deploy:assets:backup_manifest"].clear_actions
https://makandracards.com/makandra/100898-fix-for-rails-assets-manifest-file-not-found-in-capistrano-deploy