After updating to OSX Catalina, I can no longer sass

There is a similar article that was hit by a similar situation, but a memo for personal use.

Situation and solution

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

Digression

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

After updating to OSX Catalina, I can no longer sass
I can't find the docker image after updating to docker desktop 2.4.0.0
I can no longer connect to a VM with a Docker container that can be connected via SSH
After updating to Eclipse 2020-06, some characters were garbled, so I downgraded Eclipse.
After using Android Studio 3, Java application dependencies can no longer be resolved, so what to do about it
What to do after updating Dockerfile, docker-compose.yml
I tried to easily put CentOS-7 in a PC that I no longer need