UPDATE:
this error is shown during git push heroku master :
git push heroku master
-----> Preparing app for Rails asset pipeline Running: rake assets
Another workaround for errors during runtime asset compilation is to use the asset_sync gem.