Reputation: 1554
After upgrading to macOS Catalina, my Sass gem stopped working. Originally, I installed it using gem install sass
, but now, it doesn't appear under gem list
. I read another thread that suggested re-installing Sass in the ~ directory with Homebrew, but before trying that, I want to check if I actually need to.
When I navigate to my /Library/Ruby/Gems/ folder, I can see Sass in:
Also, I still have sass, sass-convert, and scss in /usr/local/bin.
sass -v
returns zsh: /usr/local/bin/sass: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory
.
Is Sass actually still installed and just not linked properly? I haven't tried installing it via Homebrew.
Upvotes: 3
Views: 2023
Reputation: 48
I have had the same issue with Ruby Sass after upgrading to macOS Catalina. I reinstalled the Xcode Command Line Tools and also reinstalled Ruby Sass.
(sudo) gem install sass
This worked fine for me!
Upvotes: 1
Reputation: 47
I also had this issue, and you're correct in thinking it's not linked properly.
I reinstalled using Homebrew: brew install sass/sass/sass
.
I then run brew link sass
to fix the link issue.
If it complains the link already exists, you can override it using brew link --overwrite sass
.
Hope this helps.
Upvotes: 4