While trying to install cocoapods I'm getting the following error, can any one help me debug it?
MacBook-Pro:~ saiteja$ sudo gem install cocoapods
Password:
ERROR: Error installing cocoapods:
activesupport requires Ruby version >= 2.2.2.
MacBook-Pro:~ saiteja$