When I installed Sass, I first tried to install it with Ruby. This didn’t work well, so I used Homebrew instead.
It’s fortunate it turned out this way because Ruby Sass is deprecated – and was so at the time I tried to install it. Maybe this explains why I had so many problems!
There’s a version of Sass written in C/C++ called LibSass; this survived later than Ruby Sass, but has also been deprecated now.
Luckily for me, Homebrew installs Dart Sass, which
is the primary implementation of Sass.