the Rails Guides says:
If there are missing precompiled files in production you will get an Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError exception indicating the name of the missing file(s).
I do execute:
bundle exec rake assets:precompile
I have in the application.js
//= require formalize/jquery-formalize
What am I missing?
Actually two things needed to do:
config.assets.precompile += %w( *.js *.css )
as described here, and
config.serve_static_assets = true
for local production testing when using
of course using
I've had similar issues and that has worked.
You can also delete the contents of the
/public/assets directory and try running it again.
©2020 All rights reserved.