Search code examples
macoscocoapodsosx-elcapitan

How to install CocoaPods on OS X El Capitan 10.11.4?


while installing through this command: sudo gem install cocoa pods I am getting this type of error.

"ERROR: While executing gem ... (NoMethodError) undefined method `ord' for nil:NilClass"


Solution

  • refer to Cocoapods guide: https://guides.cocoapods.org/using/getting-started.html

    sudo gem install cocoapods

    if you still have problems, try to update the gems and check your ruby version.

    gem update --system