I'm experiencing this error while pushing to heroku repo
remote: rake aborted!
remote: Sprockets::DoubleLinkError: Multiple files with the same output path cannot be linked ("style.css")
remote: In "/tmp/build_f430cee0cae4a9543fac20926137c7cc/app/assets/config/manifest.js" these files were linked:
remote: - /tmp/build_f430cee0cae4a9543fac20926137c7cc/app/assets/stylesheets/style.css
remote: - /tmp/build_f430cee0cae4a9543fac20926137c7cc/app/assets/stylesheets/style.scss
I have tried these suggestions:
- I deleted the .css file and kept the .scss (there are no duplicates AFAIK)
- cleared temp directory with
heroku run rake tmp:clear
- reset repo with
heroku repo:reset -a <app name>
heroku repo:purge_cache -a <app name>
But I still keep getting the error when I push to the Heroku remote
rake assets:clobber
– Strand