我正在运行此命令
sudo gem install cocoapods
字符串
但是得到这个错误
ERROR: Error installing cocoapods:
The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.4. Try installing it with `gem install activesupport -v 6.1.7.4` and then running the current command again
activesupport requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
型
请帮助如何修复它
2条答案
按热度按时间ki1q1bka1#
你需要仔细阅读你刚刚发布的错误
字符串
并且您的Ruby版本需要更新到2.7.0或更高版本
2guxujil2#
试试这个
个字符