ios – Operation not permitted – getcwd (Errno::EPERM) while sudo gem install cocoapods


/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230:in “’: Operation not permitted – getcwd (Errno::EPERM)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230:in <module:RbConfig>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:11:in <top (required)>’
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:9:in require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:9:in <top (required)>’
from internal:gem_prelude:2:in require' from <internal:gem_prelude>:2:in internal:gem_prelude’

i was trying to install cocopods with sudo gem install cocoapods

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img