Open eprothro opened 2 years ago
FYI forcing sassc to an updated version solved this problem.
gem "sassc", "~> 2.4"
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, so these FFI issues should go away.
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, so these FFI issues should go away.
your dartsass-sprockets doesn't compile with bootstrap 5.3 and Rails 7.1, so I wouldn't recommend it.
@creiterer04 You can raise a ticket to dartsass-sprockets with details and I'll take a look. The compile errors should be trivial, and may in fact be due to Bootstrap's SASS using syntax which is not compliant with the latest Dart SASS. Myself and others are using dartsass successfully with Bootstrap today.
SassC is dead--the SASS maintainers are no longer supporting it. I put dartsass-sprockets out there to help folks, but if it doesn't work for you, to each his/her own.
We are getting the following exception in CI during bundler operations. It appears this may be due to an sassc issue. Forcing the
sassc
version to latest appears to fix the issue for us.Should
sassc-rails
issues a new release with updatedsassc
version so others don't have to run into this?