There is a similar article that was hit by a similar situation, but a memo for personal use.
As the title says, after updating OSX to Catalina, when I hit the sass command, I got the following error.
bash: /usr/local/bin/sass: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory
Apparently, when updating to Catalina, the version of Ruby built into the OS goes up and the old one is deleted.
After installing rbenv
referring to the following article, put another version of Ruby and pass the path there to solve it! !!
https://qiita.com/nishina555/items/63ebd4a508a09c481150
Actually, I got an error when running from the Phpstorm plugin, and when I contacted Phpstorm support in a hurry, I was told that running SCSS has nothing to do with Phpstorm. That's right. (I felt it was built-in, but it doesn't seem to be the case)
And Ruby Sass is deprecated in the email, so please use Dart Sass, kind advice. Should I switch to Dart?
Recommended Posts