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

Add support for :load_paths #65

Open
amirabiri opened this issue May 8, 2014 · 1 comment
Open

Add support for :load_paths #65

amirabiri opened this issue May 8, 2014 · 1 comment

Comments

@amirabiri
Copy link

We are porting a large web system from Ruby to .NET. We make extensive use of compass mixins. Can you add support for this please?

I dug around the code a bit, and was able to 'hack' this by modifying in SassCompiler 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""]}");

Of course the actual solution should not hardcode the path. I wasn't able to build the whole solution, so can't offer a pull request. Plus I'm not sure how you'd want to handle the actual compass mixins? Should they be distributed with the Nuget package? Or downloaded separately and pointed to using a configuration value.

@anaisbetts
Copy link
Owner

Hey @amirabiri, this project is pretty much unmaintained at the moment, you may have to build your own.

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

2 participants