--When I deployed the created Rails application and accessed the page, the following error screen appeared and I could not access it.
--So, when I checked log / production.rb, I got the following error.
log/production.rb
ActionView::Template::Error (The asset "application.css" is not present in the asset pipeline.):
I've taken so much time to resolve this error that I'm not sure if it's the right way to do it, but I'll share the solution in my environment.
Rails 5.2.4 Ruby 2.6.4
# Do not fallback to assets pipeline if a precompiled asset is missed.
- config.assets.compile = false
+ config.assets.compile = true