Safiya Dodojonova
Safiya Dodojonova

Reputation: 1

I want to install Cocoapods for flutter but it gives me such ERROR:

Error installing cocoapods: The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with gem install drb -v 2.0.6 and then running the current command again drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

I run this code in terminal 'sudo gem install cocoapods'

Upvotes: 0

Views: 481

Answers (1)

Karen Ghazaryan
Karen Ghazaryan

Reputation: 165

for me installing lates cocoa pods with brew helps, try to run brew install cocoapods , and try ,also after my research if I got it right you should not use sudo to install dependencies , so move forward with brew.

Upvotes: 0

Related Questions