I\'m upgrading an application to use the asset pipeline.
I\'ve got the css assets compiling into an application css file but they not being found when I run the applicat
In Rails 4, you can get them to show in production (running locally), by passing an environment variable:
RAILS_SERVE_STATIC_FILES=true rails server -e production
This should work as long as you have this line in /config/environments/production.rb
:
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?