How do I install RubyGems on my Mac?
I tried to run $ gem install rubygems-update with no luck . It returns
$ gem install rubygems-update
ERROR: While executing gem ...
After installing cocoapods as Tulon suggested the thing which worked for me was passing the --user-install flag to the gem install command e.g
--user-install
gem install rubygems-update --user-install
from https://guides.cocoapods.org/using/getting-started.html#sudo-less-installation