LoginSignup
24
21

More than 5 years have passed since last update.

sudo gem install cocoapodsしてもpodコマンドが使えない

Last updated at Posted at 2014-01-18

よくある通りgemを使ってcocoapodsをインストールしましたが、podコマンドが使えず。
コマンド自体はインストールされていることを確認できたのですがパスが通っていないようで...。

$ sudo gem install cocoapods
$ pod
-bash: pod: command not found

1時間ぐらい調べましたがふとしたことから解決できました。

解決方法は簡単。
ターミナルを再起動するだけです!

みなさんお気をつけて。

24
21
1

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
24
21