1
通過此命令安裝時:sudo gem install cocoa pods
我得到這種類型的錯誤。如何在OS X El Capitan 10.11.4上安裝CocoaPods?
"ERROR: While executing gem ... (NoMethodError) undefined method `ord' for nil:NilClass"
通過此命令安裝時:sudo gem install cocoa pods
我得到這種類型的錯誤。如何在OS X El Capitan 10.11.4上安裝CocoaPods?
"ERROR: While executing gem ... (NoMethodError) undefined method `ord' for nil:NilClass"
指的CocoaPods指南:https://guides.cocoapods.org/using/getting-started.html
sudo gem install cocoapods
如果你仍然有問題,嘗試更新的寶石,並檢查您的紅寶石版本。
gem update --system
看到這個http://stackoverflow.com/questions/32190294/rvm-rails-install-error-while-executing-gem-nomethoderrorundefined-method –
正確的命令是'sudo的創業板安裝cocoapods' –