https://github.com/christoph88/kratos/tree/create-landingpage
Struggling to display images from CSS file in production on Heroku, despite working fine on my development server.
Attempts made:
#config/environments/production.rb
config.assets.compile = true
config.assets.digest = true
#cmd
rake assets:precompile RAILS_ENV=production
git add.
git commit -a -m "Your Commit"
git push heroku master
heroku run rake assets:precompile --app your_heroku_app
No success with the above steps.
The images are saved in assets/images folder, while the CSS file that references them is located at /vendor/stylesheets/landingpage/style.css
Since it's a .css file, I am not using ruby or sass helpers for images, just simple url(bgTop.jpg)
Even tried changing the file extension to .css.scss and using image-url("bgTop.jpg") helper without any luck.