To have a consistent development environment, it's best for contributors to have a consistent ruby version and ruby tools.
Follow the steps to setup your ruby environment to work on this iOS project.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install rbenv ruby-build
eval "$(rbenv init -)"
rbenv install 2.2.2
rbenv rehash
rbenv local 2.2.2
mkdir -p ~/.rbenv/plugins
git clone https://github.com/ianheggie/rbenv-binstubs.git ~/.rbenv/plugins/rbenv-binstubs
gem update --system
gem install bundler
rbenv rehash
bundle install --binstubs
rbenv rehash
You should now have the correct ruby installed, with all of the gems we use.
Whenever you move into this directory, your ruby will be mapped to the correct version. Executing any of the needed gems will use the correct versions as well.
As an example:
rbenv which pod
pod --version # will use the locally installed pod