12

am on a rubymotion project

have required afmotion in rake file, gem file and bundle installed. I get the above error when I try to run rake pod:install.

Any ideas? Thanks in advance.

Sherwyn Goh
  • 1,352
  • 1
  • 10
  • 19

1 Answers1

45

Make sure you have the cocoapods gem installed, then run pod setup
If for some reason that doesn't solve the problem, remove the cocoapods directory entirely with
rm -rf ~/.cocoapods and try to pod setup again.

andi
  • 14,322
  • 9
  • 47
  • 46
  • I was just being impatient on my connection with pod setup, took like 15 minutes to gather from master on my crappy connection – Sherwyn Goh Feb 15 '14 at 04:18
  • 2
    Another pod was failing for me, and this answer solved my problem. Thanks. – aramusss Jan 16 '15 at 16:22
  • It worked for me. But pod setup was not mentioned in official site. https://guides.cocoapods.org/using/getting-started.html – John Apr 20 '19 at 03:57