I just started to setup the environment for coco pods and it is throwing a bunch of errors upon running pods install command after following along with the video. I am not sure why it is erroring out but in the video it doesn’t happen. On top that it throws 17000 lines of weird gibberish that I don’t understand which I can’t list because of character limitations. It mentions that something might be wrong with ruby at the end but I am not sure what it is.
Any advice?
ericbeecroft@Erics-iMac CocopodsTest % pod install
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.
zsh: abort pod install
ericbeecroft@Erics-iMac CocopodsTest %
I am having the exact same problem. And I get those exact same results when I run that command in terminal.
I found this post in the Apple Developer forum, but since it’s from a year ago, I don’t know if it helps. Many of the techniques listed in the comments were ones that we’ve already tried. Things like using Homebrew to install. What’s weird is everything seems to work until the pod install command.
One person in that link said, “This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it. This can usually be fixed by re-installing CocoaPods.”
Another person added this advice:
" 1. install LATEST version of brew (Installing Homebrew on a Mac)
2. then use “brew uninstall cocoapods”
3. install the latest version of cocoapods using “brew install cocoapods” (You must verify installed version with github version https://github.com/CocoaPods/CocoaPods/releases/tag/1.11.2, they must match)
4. overwrite link to cocoapods with “brew link --overwrite cocoapods”
5. check the version of cocoapods “pod --version”
6. done, You have the latest version of cocoapods installed"
I was thinking this might be the next step in the attempts to get Cocoapods to work on our newer Macs? But I don’t really know how to verify that the version of cocoapods that home-brew is trying to install is the same as the GitHub version. (As they explain in step 3).
Based on what I see on GitHub, the latest version of Cocoapods is 1.11.2 which I’m pretty sure (based on the terminal output) is the same version Erik and I have downloaded on our computers right now. So perhaps these instructions I’ve found won’t help us at all.
Let me know if you ever get it working. I’ve been stuck on this for about a week now and still haven’t been able to get it to work. I’ve basically given up on the database course and am trying to teach myself the concepts using more up-to-date YouTube tutorials.
(This forum continues to remove the person who I have replied to the day after I post or after I post a new reply to an existing post. Its very annoying. It leaves the text I posted up but if I reply to Philomath or another user, the icon just goes poof a moment or two later. This hasn’t been the first time it has done this.)
I got up to step 2 but it failed and threw an error.
Just checking in with you to say, I saw your message. And I’m sorry you’re still stuck. I am too. About a month in, and I still haven’t found a way to get it to work. I’m back to trying to work through the database videos without actually being able to follow along.
This is the very first time that anyone has reported such an experience so it is either an isolated case or an error is usage. Please PM me to discuss the circumstances in which this occurred so that I can attempt to replicate it.
Here is the thing, the application told me that home-brew was successfully installed. Yet it still doesn’t allow me to uninstall it.
==> Tapping homebrew/core
remote: Enumerating objects: 1148341, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 1148341 (delta 10), reused 19 (delta 9), pack-reused 1148320
Receiving objects: 100% (1148341/1148341), 449.06 MiB | 9.88 MiB/s, done.
Resolving deltas: 100% (793899/793899), done.
From https://github.com/Homebrew/homebrew-core
* [new branch] master -> origin/master
HEAD is now at 130bfdd0e39 translate-toolkit: update 3.6.0 bottle.
Warning: /opt/homebrew/bin is not in your PATH.
Instructions on how to configure your shell for Homebrew
can be found in the 'Next steps' section below.
==> Installation successful!