1.Check the version of Ruby installed on your Mac
ruby -v
2.Install the Ruby Version Manager rvm.
curl -L https://get.rvm.io | bash -s stable
3.Install the latest version of Ruby
rvm install ruby- lastest_version
4.rvm use ruby- version
5.sudo gem install cocoapods
if your faceing any issue with installing rvm.
1.Check the version of brew installed on your Mac
brew --version
2.If Homebrew is not installed, you will need to install it first.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3.Retry Ruby Installation
rvm install ruby- lastest_version
That's it!!
Topic:
App & System Services
SubTopic:
Core OS
Tags: