Deprecated Ruby Sass, now what?

Hello! Ruby sass gem is now deprecated, as is stated on official sass website and in notification when I generate new rails project. However, I have hard time figuring out (and googling it) what exactly should I do about it. I have tried to update Rails, but the gem is still installed.

Does it mean Sass will not work anymore?

Do I have to replace the gem every time I create new project? (because this one is default).

If so, how can I modify the rails generator, so I dont have to deal with this every time? (specifying SQLite 3 to version 1.3.6. is already a bit of nuisance, now this would be another)

Thank you for helping me out.

Hi @RailingPedro,

Perhaps this blog post going to answer your questions:

Hi,
Am I doing something wrong? Help me please.

ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux-gnu]
Rails 5.1.7
openSUSE Leap 15.0

Steps to Reproduce:

  1. Edit Gemfile:

    #gem ‘sass-rails’, ‘~> 5.0’
    gem ‘sassc-rails’

  2. Go ahead:

    sudo gem uninstall sass-rails
    bundle

    git add .
    git commit -m “test”

    git remote add origin https://oauth2:[email protected]/my_username/my_app.git
    git push -u origin master

    git clone https://oauth2:[email protected]/my_username/my_app.git
    cd my_app/
    bundle install --path vendor/bundle
    rails s

Could not open library ‘/home/alex/my_app/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.1/ext/libsass/lib/libsass.so’: /home/alex/my_app/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.1/ext/libsass/lib/libsass.so: cannot open shared object file: No such file or directory (LoadError)