我通过Passenger在我的apache上安装了我的rails-app,但是我收到了一个奇怪的错误
cannot generate tempfile `/var/rails/wo42/tmp/cache/assets/sprockets%2Fb94bb762c37131f8bb65f843c621876720120401-29970-ha7f1p-9'
Extracted source (around line #24):
21: <%= stylesheet_link_tag "application" %>
22:
23: <!-- Included JS Files -->
24: <%= javascript_include_tag "application" %>
25:
26: <%= csrf_meta_tags %>
27: </head>
似乎有权利,但我将/ var / rails / wo42 / tmp设置为chmod 777?
答案 0 :(得分:2)
我自己就碰到了这个。不确定这是否会永久性修复,但这就是让我超越它的原因:
rake tmp:clear