[RUBY] Rails again. It gets stuck with Homebrew immediately.

Suddenly remember

I remembered that I was studying Rails one and a half years ago. And I bought a book. By the way, when she was studying last time, she stumbled on deploying on heroku in the Rails tutorial and dropped out.

Homebrew installation gets stuck immediately

python


/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install by copy and paste from Homebrew site

However, an error like this ↓

Error:
homebrew-core is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This restriction has been made on GitHub’s request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don’t do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!

If you look closely, do this first to update I tried it because it looks like ↓

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

If you install it again,

==> Installation successful!

Probably successful. Sleep.

Recommended Posts

Rails again. It gets stuck with Homebrew immediately.
When building rails6 environment on Ubuntu, it gets stuck with bundle install