$ sudo gem update --system
$ gem -v
2.7.5
$ sudo gem install cocoapods
・
・
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
(なんかHigh Sierraだとそうなるのか。/usr/local/binに入れる)
$ sudo gem install cocoapods -n /usr/local/bin
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
11