我尝试使用rails 3.2.9和乘客一起运行我的应用程序,我收到此消息错误:
ActionView::Template::Error (index.css isn't precompiled):
<head>
<meta charset="utf-8"/>
<title>Web Account Manager</title>
<%= stylesheet_link_tag "index", :media => "screen" %>
<%= javascript_include_tag "index" %>
<%= csrf_meta_tags %>
</head>
app/views/layouts/index.html.erb:6:in `_app_views_layouts_index_html_erb__115336150744996096_14575540'
Run Code Online (Sandbox Code Playgroud)
我的文件production.rb:
Wam::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
# Disable Rails's static asset server (Apache or nginx will …Run Code Online (Sandbox Code Playgroud) production ruby-on-rails passenger precompile ruby-on-rails-3