thomas-mcdonald/bootstrap-sass — Issue #67: sass extensions not working with rake assets:precompile
Author: seanmoon
Created: 2012-02-17 01:41:39+00:00
State: open

Hey there,

Having an issue where the sass extension ie_hex_str is not working when generating stylesheets via the rake assets:precompile task. The extension works in the development environment.

Here's the gradient generated for the navbar class in my production environment:

progid:DXImageTransform.Microsoft.gradient(startColorstr='ie-hex-str(#333)', endColorstr='ie-hex-str(#222)', GradientType=0)

whereas here is the same CSS line from my development environment:

progid:DXImageTransform.Microsoft.gradient(startColorstr='#F3333', endColorstr='#F2222', GradientType=0)

I noted that raising an error on the first line of the ie_hex_str method causes my development server to throw an exception when a page is loaded, but running the rake assets:precompile task completes successfully.

Any advice?