我在安裝CocoaPods時遇到問題。當我嘗試sudo gem install cocoapods
, 它給了我一個錯誤說ERROR: Error installing cocoapods: activesupport requires Ruby version >= 2.2.2.
Can not Install CocoaPods
1
A
回答
2
您可以通過首先手動安裝兼容的主動支持來使其工作。
sudo gem install activesupport -v 4.2.6
sudo gem install cocoapods
1
你需要升級你的紅寶石版本,或者您的系統沒有足夠的依賴性上安裝舊版本的cocoapod.Current紅寶石版本。
安裝舊版本的CocoaPods
sudo gem uninstall cocoapods
sudo gem install cocoapods -v 0.25.0 // pick minimum viable version for your system
如果你想要跟上的CocoaPods的最新版本
this文章將幫助您在您的系統升級紅寶石
的。
相關問題
- 1. can not use cancan
- 2. Can not easy_install IMDbPY
- 3. can not can cancan on rails 3.1
- 4. Can not dynamic_cast sideways
- 5. MVC4「Can not await」
- 6. Can not @Autowire configuration
- 7. Can not import Quandl
- 8. Can not mport javafx
- 9. Can not screen scrape
- 10. Can not call praw.helpers
- 11. Javascript can not getElementById
- 12. Can not removeEventlistener
- 13. Can not Longpolling Telegram
- 14. Can not setImage
- 15. Can not dynamic_cast
- 16. Can not Moderate Comments
- 17. sudo gem install cocoapods --pre error
- 18. can not dup NilClass - Rails
- 19. Can not Logo with bars
- 20. Can not Center Fixed Div
- 21. Can not screen scrape site
- 22. Can not $ _POST with ckeditor
- 23. Can not canvas on canvas
- 24. Can not draw in CAlayer
- 25. Can not calling in codeigniter
- 26. gitorious install will not login
- 27. xcode-select --install not running
- 28. Sublime Text 2 Make not working,can not find latex
- 29. git,error,entry blah not updaed,can not merge
- 30. 如何修改cocoapods-Xcode-plugin install命令?
我認爲這是一個紅寶石錯誤 – NullCoderExists