trying to install cocoapods but getting error ?
when i try pod init comaand
i am getting this error
/Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require’: cannot load such file – concurrent/atomic/event (LoadError)
when i am trying sudo gem install cocopods
ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write permissions for the /usr/bin directory.
how can i resolve this issue ?