It's problem with ruby in version 2.0.0 and cocoapods 1.1.1, so if you won't use prerelease version of cocoapods, just update your ruby version for example with rvm:
\curl -sSL https://get.rvm.io | bash -s stable
Remember: After install of new ruby you need to install all gems one more time.