Question

I get this error when trying to do spiriting with compass.

Template::Error (can't convert Array into String
    (in /Volumes/Terra-Nova/jwaldrip/Sites/resipsa/app/assets/stylesheets/home.css.scss)):

Here is my code within my scss file:

@import "icon/*.png";
@include all-icon-sprites;

My images are in "app/assets/images/icon/"

What am I doing wrong here?

Was it helpful?

Solution

Took some time and some research but the issue was that I was using the gem "compass" where I should have used "compass-rails" adding this gem fixed all my issues and compass is not importing the pngs and generating the sprites.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top