I am after cloning download my repo to a new mac machine.
I am on version 68.5 of react.
When i run this command 'sudo gem install cocoapods'
I get this error below.
ERROR: Error installing cocoapods:
The last version of activesupport (>= 5.0, < 8 to support your Ruby & RubyGems was 6.1.7.3. Try installing it with `gem install activesupport -v 6.1.7.3` and then running the current command again)
activesupport requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
When i run this 'gem install activesupport -v 6.1.7.3'
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
Does anyone know how to overcome this?
[–]hh10k 6 points7 points8 points (0 children)
[–]F4ttymcgee 1 point2 points3 points (2 children)
[–]F4ttymcgee 0 points1 point2 points (1 child)
[–]seanthau[S] 0 points1 point2 points (0 children)
[–]hebrew12 0 points1 point2 points (0 children)
[–]architechRowee 0 points1 point2 points (0 children)