My Rails app is not loading assets correctly in the staging environment, even after I run rake assets:precompile RAILS_ENV="staging".
This is my staging config:
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.assets.js_compressor = :uglifier
config.assets.compile = false
# Generate digests for assets URLs
config.assets.digest = true
# config.force_ssl = true
# Expands the lines which load the assets
# config.assets.debug = false
config.log_level = :debug
Here's a screenshot of my browser's development console.
The path is wrong... does someone know whyyy???
config.assets.compile = false
? – Rodrigo