This is my layout code for those lines:
= stylesheet_link_tag 'application', media: 'all'
I resolved the problem by changing this line to true in
config/environments/development.rb config.assets.debug = true # Debug mode disables concatenation and preprocessing of assets. # This option may cause significant delays in view rendering with a large # number of complex assets.