When I try to restore the Gem pristine using the command gem pristine ffi --version 1.16.3
, I am getting the following permission error. What is work around for this? I am trying to install cocoapods eventually.
Restoring gems to pristine condition...ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Users/XXDFDFGDFGDFGXX/.rubies/ruby-3.3.1/lib/ruby/gems/3.3.0/gems/ffi-1.16.3/CHANGELOG.md directory.