Ruby on rails Rails:ActionView::Template::Error(production.log中不允许的操作错误

Ruby on rails Rails:ActionView::Template::Error(production.log中不允许的操作错误,ruby-on-rails,asset-pipeline,actionview,Ruby On Rails,Asset Pipeline,Actionview,下面是我的production.log中不断出现的内容 Started GET "/" for 173.26.190.110 at 2011-12-08 12:21:24 -0500 Processing by PagesController#home as HTML Rendered pages/home.html.erb within layouts/application (19.9ms) Compiled application.js (9ms) (pid 4397) Compi

下面是我的production.log中不断出现的内容

Started GET "/" for 173.26.190.110 at 2011-12-08 12:21:24 -0500
  Processing by PagesController#home as HTML
Rendered pages/home.html.erb within layouts/application (19.9ms)
Compiled application.js  (9ms)  (pid 4397)
Compiled bootstrap-modal.js  (1ms)  (pid 4397)
Completed 500 Internal Server Error in 148ms

ActionView::Template::Error (Operation not permitted - /opt/nginx/html/mrfs/tmp/cache/assets/CD3/620/sprockets%2Fa2dc05811f5202de098f49234f831c1c):
    9:     <![endif]-->
    10:
    11:         <%= stylesheet_link_tag    "application.css" %>
    12:         <%= javascript_include_tag      "application.js" %>
    13:
    14:   <script type="text/javascript">
    15:
  app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb___536300347_80777950'
更新


我不确定是什么改变了,但它现在似乎在工作,大约从今天下午1:57开始。我不确定是什么导致了它。是否有可能是nginx或rails内部的缓存导致它挂起,并在当时刷新了缓存?

我不确定是什么改变了,但它现在似乎在工作,并且一直在运行nce大约是今天下午1:57。我不确定是什么原因造成的。nginx或rails内部的缓存是否可能导致它挂起,并在当时刷新了缓存?

application.js文件中有什么内容?您对公共目录有写权限吗?这肯定是权限问题。以防万一,请尝试:chmod-R 777/opt/nginx/html/mrfs/tmp您可以从更新中看到,此问题已得到解决。@NoahPark您应该提交更新作为此问题的答案(并接受答案),以便将其关闭。
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
//= require jquery
//= require jquery_ujs
//= require_tree .
//= require twitter/bootstrap