sassc-rails icon indicating copy to clipboard operation
sassc-rails copied to clipboard

freeze

Open claudiainbytes opened this issue 2 years ago • 4 comments

claudiainbytes avatar Aug 27 '22 18:08 claudiainbytes

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 😅)

KevinTriplett avatar Nov 25 '22 04:11 KevinTriplett

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.

KevinTriplett avatar Nov 25 '22 05:11 KevinTriplett

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 avatar Feb 05 '23 14:02 johnnyshields

@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!

yizeng avatar Apr 13 '24 16:04 yizeng