'RoR App: “The asset 'application.css' is not present in the asset pipeline”
Solution 1:[1]
Did you tried to do the following on the server
RAILS_ENV=production bundle exec rake assets:precompile
Solution 2:[2]
In config/environments/production.rb
I added the following line:
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = true
also I checked the following line:
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
With this configuration I can start my APP.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | FredyK |
Solution 2 | Harold Alcalde Solarte |