0

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$ 
0

3 Answers 3

1

sudo gem install activesupport -v 4.2.6

Sign up to request clarification or add additional context in comments.

Comments

0

First install an old version of 'activesupport' (which is both compatible with ruby 2.0 and with cocoapods) and then install cocoapods. $ sudo gem install activesupport -v 4.2.6

Comments

0

This was issue exactly faced by me. First you need install active script :

sudo gem install activesupport -v 4.2.6
sudo gem install -n /usr/local/bin cocoapods

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.