Skip to content

Instantly share code, notes, and snippets.

@kiwofusi
Created November 11, 2011 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiwofusi/1358910 to your computer and use it in GitHub Desktop.
Save kiwofusi/1358910 to your computer and use it in GitHub Desktop.
herokuにweb-app-themeを使ったアプリを上げたときのエラー
Rendered public/help.html.erb within layouts/application (138.8ms)
Completed 500 Internal Server Error in 426ms
ActionView::Template::Error (Permission denied - /app/public/stylesheets/.permissions_check.70310602512700.1.498761):
2: <html>
3: <head>
4: <title>タイトル</title>
5: <%= stylesheet_link_tag "web-app-theme/base", "web-app-theme/themes/default/style", "web-app-theme/override", :cache => true %>
6: <%= javascript_include_tag :defaults, :cache => true %>
7: <%= csrf_meta_tag %>
8: <script src="/javascripts/jquery.ah-placeholder.js" type="text/javascript"></script>
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___1078588168_70310556200160_0'
#27: Permission denied - public folder - Issues - pilu/web-app-theme - GitHub
https://github.com/pilu/web-app-theme/issues/27
"If you are on heroku you don't have write permission on filesystem, so remove the :cache => true option from the stylesheet_include_tag"
とのこと。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment