sass/sassc-rails

freeze

claudiainbytes opened this issue · 4 comments

freeze

On Debian 11 x86_64, bundle install freezes and eventually is killed. Here's my Gemfile.lock around this gem:

    sassc (2.4.0)
      ffi (~> 1.9)
    sassc-rails (2.1.2)
      railties (>= 4.0.0)
      sassc (>= 2.0)
      sprockets (> 3.0)
      sprockets-rails
      tilt

Output is:

Installing sassc 2.4.0 with native extensions
Killed

(Odd that @claudiainbytes opened this issue but didn't leave a description...so I'm hijacking it 😅)

So in my situation, it was related to this issue, too low a memory for the deploy server. Compiling native extensions for sassc takes a lot of memory apparently. Note, I tried the "downgrade to 2.1.0 hack" and it didn't solve my problem.

FYI I'm maintaining dartsass-sprockets which is a fork of this gem. You can try it and see if your issue is resolved; it uses a different engine (Dart Sass) under-the-hood and folks have reported the build is much better.

@johnnyshields Just wanted to give you a pat on the back and say thank you! Good job with dartsass-sprockets. It works like a charm!