I've encountered a problem with my Rails project after precompiling assets for deployment on Heroku. Despite following advice to delete the static file, the app now remains stuck in a buffering state and won't load. I've attempted setting config.serve_static_files to false, running rake assets clean, and even using dscacheutil -flushcache, all with no success.
Here is my development.rb file:
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
# Do not eager load code on boot.
config.eager_load = false
# ... (remaining content of development.rb file here)
end
Additionally, here is my production.rb file:
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better.
# Rake tasks automatically ignore this option for performance.
config.eager_load = true
# ... (remaining content of production.rb file here)
end
I'm really stuck and struggling to make any progress in this state. Any help would be greatly appreciated. Thank you