Permission denied for a css when deploying to heroku Permission denied for a css when deploying to heroku heroku heroku

Permission denied for a css when deploying to heroku


Do a compass compile before deploying to heroku.

Also, in your production.rb, add the following line:

Sass::Plugin.options[:never_update] = true

This will prevent compass from compiling css at runtime (since heroku does not allow writes on filesystem)


Just set this option to true in config/environments/production.rb and everything will work fine:

config.assets.compile = true


Save ie.css from your local machine, add it into your public/stylesheets folder, and push it up to heroku.