在我尝试集成administrate-field-nested_has_many
插件之前,我的应用程序(Rails 6.1.3 / Administrate v0.16)正在运行。
我刚刚添加了 gem 和 bundle,现在在加载任何管理页面时出现此错误:
Sprockets::Rails::Helper::AssetNotPrecompiled in Admin::Users#index
Showing /app_path/app/views/admin/application/_stylesheet.html.erb where line #11 raised:
administrate-field-nested_has_many/application.css
Extracted source (around line #11):
9
10 <% Administrate::Engine.stylesheets.each do |css_path| %>
11 <%= stylesheet_link_tag css_path %>
12 <% end %>
13
Application Trace | Framework Trace | Full Trace
app/views/admin/application/_stylesheet.html.erb:11
app/views/admin/application/_stylesheet.html.erb:10:in `each'
app/views/admin/application/_stylesheet.html.erb:10
app/views/layouts/admin/application.html.erb:24