Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

fix for sassc segfaults on ruby 3.0.0 on macOS Big Sur

Damian Legawiececcfe0379a83
diff --git a/lib/sandbox.sh b/lib/sandbox.sh
index a648adadb6..e12f764caf 100755
--- a/lib/sandbox.sh
+++ b/lib/sandbox.sh
@@ -65,6 +65,11 @@ end
gem 'mini_racer'
gem 'rack-cache'
+
+# temporary fix for sassc segfaults on ruby 3.0.0 on Mac OS Big Sur
+# this change fixes the issue:
+# https://github.com/sass/sassc-ruby/commit/04407faf6fbd400f1c9f72f752395e1dfa5865f7
+gem 'sassc', github: 'sass/sassc-ruby', branch: 'master'
RUBY
bundle install --gemfile Gemfile