Getting error while installing cocoapods: “You don’t have write permissions for the /usr/bin directory.”
Nov 2 · 1 min read

I found the solution by do the following :
- open terminal
- use terminal as root user and enter sudo -i
- enter your password
- type this line sudo gem install cocoapods -V

