First, check the version of Ruby you are using.
Open the disk image, then open the.pkg installer inside the disk image. It installs an app named Install Version Name. Open that app from your Applications folder to begin installing the operating system. MacOS Sierra 10.12 can upgrade El Capitan, Yosemite, Mavericks, Mountain Lion, or Lion. Welcome to Appychip Youtube channel!In this video, we will demonstrate you how to download and install 'cocoapods' on MacOS using brew on Terminal for free.T. In my mac mini I've running Catalina 10.15.7. I've also installed Xcode 12.4. Now as I'm using third party library I'm trying to install cocoapods in my mac. So I used this - sudo gem install cocoapods which I got from official website. But I'm getting this.
Now use Homebrew to install the latest Ruby.
If you need to have ruby first in your PATH run:
(For newer mac the file name will be : .zprofile )
For compilers to find ruby you may need to set:
Follow the instructions to set PATH. Now you will go to see the installed Ruby. Make sure to replace the 'xxx' with your username.
(For newer mac the file name will be : .zprofile )
Finally, Make sure your PATH is in place.
Macos Catalina Install Pod
You're good to go! Make sure you install by specifying the save destination as follows.