Today, I added an extra css file to my app that doesn’t load with the main application.css. I added it to config/environments/production.rb so it would compile in production:
config.assets.precompile += %w( public.css )
I ran rake assets:precompile but it did not compile the file. Eventually I figured out that if I add that same line to config/application.rb instead, it does compile. Is this expected? I thought it was supposed to go in production.