Rake assets: precompilation of error with rails and compass and "*"

I use rails 4.2.0 and compass rails (2.0.2)

I have a css.scss file with

@import "compass/utilities/sprites";
@import "icons/*.png";
@include all-icons-sprites(true);

I have many .png images in app / assets / images / icons / XXX.png

I want to deploy my application in production, it works, but without any assets, so I run

rake assets:precompile

in the field of production.

An error has occurred:

rake aborted!
Sprockets::FileNotFound: couldn't find file 'icons/*.png'

I am trying to delete resource files in the cache, nothing will change.

more error information: http://pastebin.com/6ggS3pP2

I think there is a problem with wildcard and path.

I try in dev env, nothing changes ...

I do not know what to do more, what is the solution, plz?

0
source share
1 answer

to fix this, I just use the mster git branch as:

gem 'compass-rails', github: 'Compass/compass-rails'
+1

All Articles