Rails 4 & Heroku. The Missing Assets
Out of the box Rails 4 and Heroku don't play nice with assets at all.
Just do this to get it working
Gemfile
gem ‘rails_12factor’, group: :production
/config/production.rb
config.serve_static_assets = true
Thats it.
Written by Neil Charlton
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#