Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprocket error at install #50

Closed
Ruff9 opened this issue May 30, 2021 · 1 comment
Closed

Sprocket error at install #50

Ruff9 opened this issue May 30, 2021 · 1 comment

Comments

@Ruff9
Copy link
Contributor

Ruff9 commented May 30, 2021

My app (Rails 6.1.3 / Administrate v0.16) was working before I tried to integrate this plugin.

I just added the gem and bundle, and now I get this error when I load any administrate page :

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 
@Ruff9
Copy link
Contributor Author

Ruff9 commented May 30, 2021

There is a current PR addressing this issue : #45

If you have this pb, you can use this workaround by @pablobm : https://stackoverflow.com/questions/67762580/rails-6-administrate-sprocket-error-when-installing-administrate-field-neste

@Ruff9 Ruff9 closed this as completed May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant