I am setting up my Macbook Air (OS macOS Monterey) to develop the Flutter iOS app. I want to install cocoapods but it told me to install Ruby version 3.1 or above.
Installing the latest version with the brew install ruby
stuck at the following:
==> Patching==> Applying 1682c99a8877364f1d847395cef501e813804caa.patch==> Applying 88dd0d33147a7f46a3c9df4aed28ad4e47ef597c.patch==> Applying a3e8b860788934d7cc1489f850f00dcfd9d8b595.patch==> cmake -G Ninja .. -DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;mlir;polly;lldb -DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx;libcxxabi;libunwind;pstl;openmp -DLLVM_POLLY_LINK_INTO_TOOLS=ON -DLLVM_BUILD_==> cmake --build .
I left my laptop on all night to wait for the installation to complete, but it's stuck and not going forward.
What needs fixing?