自动生成的 application.html.erb 不停的报错,错误显示为:
Sprockets::Rails::Helper::AssetFilteredError in StaticPages#home
Showing C:/RailProject/sample_app/app/views/layouts/application.html.erb where line #7 raised:
Asset filtered out and will not be served: add `Rails.application.config.assets.precompile += %w( glyphicons-halflings-white.png )` to `config/initializers/assets.rb` and restart your server
(in C:/RailProject/sample_app/app/assets/stylesheets/static_pages.css.scss)
这是第 7 行的内容: <%= stylesheet_link_tag "application", media: "all" %>
请教一下,这是怎么回事?