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

Having trouble installing CocoPods

Having issue installing ruby v2.2.2:

OS Capitan. 10.11

From what i've seen it's either install an older version of activesupport or install RVM which I rather not because I have no other use of it.

Any tips or help would be great

1 Answer

I ended up upgrading to Ruby 2.3.0 to get this to work. Here's what I had to do

// explained in http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
xcode-select --install

// explained in http://stackoverflow.com/questions/3696564/how-to-update-ruby-to-1-9-x-on-mac
rvm install 2.3.0
rvm use 2.3.0

// explained in http://stackoverflow.com/questions/14355165/xcode-installing-cocoapods-no-response 
sudo gem install cocoapods -V

pod setup --verbose