gravityblast / web-app-theme

A simple theme for web apps
Other
2.45k stars 387 forks source link

Permission denied - public folder #27

Closed bolthar closed 13 years ago

bolthar commented 13 years ago

When trying to access a deployed application on Heroku, I get the following error:

ActionView::Template::Error (Permission denied - /app/6a14da80-e717-4550-b091-8240c5c50ff4/home/public/stylesheets/.permissions_check.23898592104760.1719.851812)

Works fine when testing the application locally. I've tried to meddle with the permission settings on my public folder, to no avail.

gravityblast commented 13 years ago

If you are on heroku you don't have write permission on filesystem, so remove the :cache => true option from the stylesheet_include_tag

bolthar commented 13 years ago

Thanks, that solved it

taniasupagirl commented 13 years ago

Thanks a lot for this comment! Also remove the :cache => true on the javascript_include_tag. That was my problem.