set global ruby version and install cocoapods