문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top