pod install -bash: pod: command not found

Snowcrash picture Snowcrash · Jan 7, 2013 · Viewed 242.1k times · Source

I installed pod some time ago. However, it's stopped working so I'm working through this again.

However, I almost immediately run into a problem here:

pod install
-bash: pod: command not found

Any suggestions why this happened?

Answer

Snowcrash picture Snowcrash · Jan 7, 2013

OK, found the problem. I upgraded Ruby some time ago and blasted away a whole load of gems. Solution:

sudo gem install cocoapods