Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Installing and Using CocoaPods for iOS

Aravind voruganti
Aravind voruganti
437 Points

cocoapods installatin error

while trying to install cocoapods im getting the following error

Last login: Sun Jul 24 15:44:24 on console MacBook-Pro:~ saiteja$ sudo gem install cocoapods Password: ERROR: Error installing cocoapods: activesupport requires Ruby version >= 2.2.2. MacBook-Pro:~ saiteja$

1 Answer

Addison Francisco
Addison Francisco
9,561 Points

You need to install/update Ruby. You can find information on how by following this link. After you install Ruby, try installing Cocoapods again.