Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Sassc 2.4.0 installation error in Mac 14.7 (Sonoma) with Ruby 3.3.4 #248

@AdamJacobson

Description

@AdamJacobson

Been trying to bundle install but it keeps failing on sassc.

Here's the tail end of running gem install sassc -v '2.4.0' --verbose

HEAD https://index.rubygems.org/
200 OK
GET https://index.rubygems.org/info/sassc
200 OK
GET https://index.rubygems.org/info/ffi
200 OK
/Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/.gitignore
/Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/.gitmodules
<.... TRUNCATED FOR BREVITY ....>
/Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/test/sass_2_scss_test.rb
/Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/test/test_helper.rb
Building native extensions. This could take a while...
current directory: /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/ext
["/Users/adam.jacobson/.asdf/installs/ruby/3.3.0/bin/ruby", "extconf.rb"]
creating Makefile
current directory: /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/ext
["make", "DESTDIR=", "sitearchdir=./.gem.20241008-94702-ngoxqy", "sitelibdir=./.gem.20241008-94702-ngoxqy", "clean"]
current directory: /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/ext
["make", "DESTDIR=", "sitearchdir=./.gem.20241008-94702-ngoxqy", "sitelibdir=./.gem.20241008-94702-ngoxqy"]
compiling ./libsass/src/ast.cpp
make: *** [ast.o] Error 1
ERROR:  Error installing sassc:
	ERROR: Failed to build gem native extension.

    current directory: /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/ext
/Users/adam.jacobson/.asdf/installs/ruby/3.3.0/bin/ruby extconf.rb
current directory: /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/ext
make DESTDIR\= sitearchdir\=./.gem.20241008-94702-ngoxqy sitelibdir\=./.gem.20241008-94702-ngoxqy clean
current directory: /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0/ext
make DESTDIR\= sitearchdir\=./.gem.20241008-94702-ngoxqy sitelibdir\=./.gem.20241008-94702-ngoxqy
Building has failed. See above output for more information on the failure.
make failed, exit code 2

Gem files will remain installed in /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/sassc-2.4.0 for inspection.
Results logged to /Users/adam.jacobson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/extensions/arm64-darwin-23/3.3.0/sassc-2.4.0/gem_make.out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions