Here is error in my rails app, using nginx on production. How to solve this permissions issue?
style.scss.css
file is in subfolder voyage
, maybe this has some effect? - but style.scss.erb
renamed to style.css.erb
works well!
F, [2014-10-27T16:59:57.605973 #790] FATAL -- :
ActionView::Template::Error (Permission denied - /var/www/viewer/tmp/cache/assets/production/sass/f343497db8856b02b621e5e7a375554bcb8decb5
(in /var/www/viewer/app/assets/stylesheets/voyage/style.scss.erb)):
15: %>
16: <link rel="icon" type="image/png" href="<%= url_for @logo.dynamic_attachment_url("64x64#") %>">
17: <% end %>
18: <%= stylesheet_link_tag "voyage/style", media: "all" %>
19: <%= stylesheet_link_tag "voyage/shadowbox", media: "all" %>
20: <%= javascript_include_tag "voyage/voyage" %>
21: <%= javascript_include_tag "voyage/shadowbox" %>
app/views/layouts/voyage.html.erb:18:in `_app_views_layouts_voyage_html_erb__471689782555352934_45021440'