I believe, that for production, we also need to add to config/application.rb `config.assets.paths << Rails.root.join('app','assets','images')` and perhaps to config/environments/production.rb `config.assets.precompile += %w( .png .jpg .gif .svg)` but I'm not 100% sure on that.