0

I am trying to install cocapods but it is not working! What do I do?

Charlies-MBP:~ charlie$ gem install -n /usr/local/bin ffi cocapods ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory. Charlies-MBP:~ charlie$

I tried brew install ruby but nothing is showing up, I am just utterly stuck because theyre is nothing that can show up on the terminal.

  • [This](https://developer.apple.com/forums/thread/697249) may help – vignesh Feb 08 '23 at 06:44
  • This question is already asked [here](https://stackoverflow.com/questions/14607193/how-to-install-a-gem-or-update-rubygems-if-it-fails-with-a-permissions-error) – vignesh Feb 08 '23 at 06:46

0 Answers0