sass / sassc-rails

Integrate SassC-Ruby with Rails!
MIT License
707 stars 104 forks source link

freeze #175

Open claudiainbytes opened 2 years ago

KevinTriplett commented 1 year ago

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 commented 1 year ago

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.

johnnyshields commented 1 year ago

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.

yizeng commented 6 months ago

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