LoginSignup
7
6

More than 5 years have passed since last update.

cocoapods インストールしても command not found: pod と言われた時の対処法

Posted at

事象

cocoapodsインストールをしたのに、command not found: pod と言われた。

$ sudo gem install cocoapods
$ pod setup
zsh: command not found pod

対処法〜その1〜

ターミナル再起動

うまくいかなかった。。

対処法〜その2〜

rbenv rehash

こっちでうまくいった。

$ rbenv rehash
$ pod setup

参考

7
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
6