stevehodgkiss/sinatra-asset-pipeline

asset-url in sass file

xlozinguez opened this issue · 1 comments

Hi, I was wondering if anyone had the same issue I am encountering right now when trying to reference an asset image url in an assets/stylesheets scss file...

transparent asset-url("bg_black.png") repeat top left; remains transparent asset-url("bg_black.png") repeat top left in the generated css...

Going to give a shot at debugging the issue; wanted to throw it out there in the meantime and see if anyone had any idea...

Thanks,

X

asset-url is Ruby code, not Sass, so you need to use erb. Add .erb to the end of your file, like stylesheet.sass.erb