我对 Rails 和Passenger 很陌生。
我最初能够使用 Rails 和 Passenger(在 LAMP 堆栈上)作为子 URI 设置应用程序
现在我删除了我正在使用的应用程序文件夹并用另一个文件夹替换它。但我认为它仍然期待旧应用程序的东西。这是基于我的 error_log 文件中的第一条消息
[ 2013-07-11 20:08:10.6046 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr]
[ 2013-07-11 20:08:10.6047 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] ActionView::Template::Error (application.css isn't precompiled):
[ 2013-07-11 20:08:10.6047 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] 2: <html>
[ 2013-07-11 20:08:10.6047 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] 3: <head>
[ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] 4: <title><%= full_title(yield(:title)) %></title>
[ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] 5: <%= stylesheet_link_tag "application", :media => "all" %>
[ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] 6: <%= javascript_include_tag "application" %>
[ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] 7: <%= csrf_meta_tags %>
[ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] 8: <%= render 'layouts/shim' %>
[ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr] app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___2448934304053701042_30381400'
[ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr]
[ 2013-07-11 20:08:10.6049 639/7fe8bdeb5700 Pool2/Implementation.cpp:1174 ]: [App 663 stderr]
不过,这在本地有效。
有什么想法吗?