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 is deprecated - move to sassc gem? #13

Open
notori0us opened this issue Jun 28, 2019 · 2 comments
Open

Ruby sass is deprecated - move to sassc gem? #13

notori0us opened this issue Jun 28, 2019 · 2 comments

Comments

@notori0us
Copy link

When installing this gem:

Post-install message from sass:

Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841
@rubysamurai
Copy link
Owner

Hello,
Sorry for the delay.

Regarding Ruby Sass this is a tricky problem, for example even latest Rails 5.2.3 still installing deprecated Ruby Sass gem by default; they started moving to sassc a couple of months ago, but those changes are still in beta. And starting from Rails 6 Webpacker will be default JavaScript compiler and with webpacker there is no need in sass gem at all.

Also original MDL libraby is deprecated since late 2016 and now is completely replaced by Material Components for the web.

Considering all this its probably better to leave material_design_lite-sass as is for those still using it in legacy projects. I'm not against changes, just not really sure how a simple switching to sassc would affect the gem and existing installs since I don't use Rails assets pipeline anymore.

@rubysamurai
Copy link
Owner

After running several tests, it seems that sassc can't compile a few sass files where asset pipeline helpers are used.

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