application.css not served on Heroku

10 views
Skip to first unread message

Ciprian Dunareanu

unread,
Oct 16, 2017, 5:01:21 AM10/16/17
to Refinery CMS
Ive added my own css file in app/assets/stylesheets/application.css
registered the style with
config.register_stylesheet "application.css", :media => 'screen'

Works fine in development.
For production I did the following:
in Gemfile:
gem 'rails_12factor'

in config/assets.rb

Rails.application.config.assets.precompile += %w( application.css )

in application.rb

config.assets.initialize_on_precompile = true

but Heroku still fails to serve the css file.

Any thoughts?
Reply all
Reply to author
Forward
0 new messages