-
Notifications
You must be signed in to change notification settings - Fork 333
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
error compiling assets with image-url tag #442
Comments
I have similar issue.
I tried many ways that found by google such as
None of them work. Finally, I could fix it by below
This is a dirty hack, but at least my production could work temporary work for now. |
I'm using the new cssbundling-rails gem. It's working perfect in dev, but in prod i'm getting this error when i'm trying to compile the assets:
following the doc: https://guides.rubyonrails.org/asset_pipeline.html#css-and-sass
just
url("ruby.png")
doesn't work, but it worked with the webpacker:RAILS_ENV=production bundle exec rake assets:precompile
The text was updated successfully, but these errors were encountered: