Suddenly, rails new didn't work and it got stuck. .. .. ..
mac.terminal
Fetching sassc 2.4.0
Installing sassc 2.4.0 with native extensions
It freezes at the above points and does not proceed. .. .. why. .. ..
There are many solutions to look for, I ** "I decided to go back one version of rails" ** I just upgraded the version as a trial, so ...
mac.terminal
$rails -v
Rails 6.0.3.2 // <-The current version of rails is displayed ①
$ gem uninstall rails
Select gem to uninstall:
1. rails-5.2.3
2. rails-5.2.4
3. rails-5.2.4.1
4. rails-5.2.4.2
5. rails-5.2.4.3
6. rails-6.0.3.2
7. All versions
> 6 // <-Select the version you want to uninstall ②
$ gem uninstall railties -v '6.0.3.2'
Continue with Uninstall? [yN] y // <-Enter "y" ③
that's all!!!
Other Play with the sassc gem. There are solutions such as increasing the version of GCC.
■ About other solutions https://teratail.com/questions/231820
■ Rails downgrade in 3 minutes https://qiita.com/Hassan/items/eef26c870eb26a0c68e0
■ [devise] rails g devise: I can't install, it's time! !! https://qiita.com/tanaka-yu3/items/8a2002921cda080907f8
Recommended Posts