Closed jamesiarmes closed 2 years ago
I was just able to run this locally and it worked as expected. @jamesiarmes could you confirm if this failed locally for you or is the issue only in the AWS environment?
@ptrikutam I've tested this locally on my Mac, locally using Docker, and on AWS. All three produce the result above.
Hey @jamesiarmes, I was able to reproduce this locally. It seems to be due to one of the default production settings defined in Rails.
This PR should fix the problem:
https://github.com/codeforamerica/classifyr/pull/93
I've also removed the unused application.css
file since it wasn't getting compiled properly and was trying to load imports as external files.
Let me know if you run into any issues!
After setting
RAILS_ENV
andRACK_ENV
to production, styles no longer load. Runningrails assets:precompile
does not help.