Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support compass mixins #449

Open
amirabiri opened this issue May 8, 2014 · 0 comments
Open

Support compass mixins #449

amirabiri opened this issue May 8, 2014 · 0 comments

Comments

@amirabiri
Copy link

We are porting a large Ruby site to .NET with NancyFx & Compass.

We make extensive use of compass mixins. We realized Compass doesn't support that yet.

I've dug through the code and managed to hack it to get it to work, it's actually very simple. In SassCompiler.Initialize() I've modified the line:

scssOption = engine.Execute("{:cache => false, :syntax => :scss}");

To

scssOption = engine.Execute(@"{:cache => false, :syntax => :scss, :load_paths => [""C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/compass-0.12.2/frameworks/compass/stylesheets""]}");

Also digging around I notice the that Compass' SassCompiler is a copy of the SassAndCoffee.Ruby one. So I've also submitted a similar issue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant