以下是我在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'
这是什么意思?我该如何解决?
的application.js:
// 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
的更新 的
我不确定会发生什么变化,但它现在似乎正在起作用,并且从今天下午大约1:57开始。我不确定是什么造成的。是否有可能在nginx或rails内部进行缓存会导致它挂起并且当时刷新缓存?
答案 0 :(得分:0)
我不确定会发生什么变化,但它现在似乎正在起作用,并且从今天下午大约1:57开始。我不确定是什么造成的。是否有可能在nginx或rails内部进行缓存会导致它挂起并且当时刷新缓存?