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

Ruby Sass deprecated in March 2019 #88

Open
dtrunk90 opened this issue Sep 13, 2018 · 1 comment
Open

Ruby Sass deprecated in March 2019 #88

dtrunk90 opened this issue Sep 13, 2018 · 1 comment

Comments

@dtrunk90
Copy link
Contributor

Ruby Sass is deprecated and will be unmaintained as of 26 March 2019.

For more details, please refer to the Sass blog:
http://sass.logdown.com/posts/7081811

I suggest to annotate the current SassRubyGenerator as @Deprecated with a note to use a new generator which needs to be implemented. Either by copying the old one and using the new sassc-ruby or (which I think is better as jruby is a mess) by creating a new generator using jsass.

@dtrunk90
Copy link
Contributor Author

I tried adding a generator which seems to work theoretically. But I can't get my Bootstrap 4 files compiled.

The only mapping is /static/scss/main.scss and its content is as simple as:

@import '../vendor/bootstrap-scss/bootstrap';

I'm getting tons of exceptions like: io.bit3.jsass.CompilationException: Error: Undefined variable: "$font-family-monospace".

So maybe switching to sassc-ruby is a better option.

You can see the new jsass generator in the referenced commit. Feel free to copy into your project if you want.

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