Analyzing dependencies
dyld: lazy symbol binding failed: Symbol not found: _rb_ary_new_from_values
Referenced from: /Users/ryancopley/.rvm/gems/ruby-2.1.1/gems/psych-2.0.13/lib/psych.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_ary_new_from_values
Referenced from: /Users/ryancopley/.rvm/gems/ruby-2.1.1/gems/psych-2.0.13/lib/psych.bundle
Expected in: flat namespace
I ran sudo gem install cocoapods and tried again, still receiving this error.
This looks to be an issue with your ruby's installation of Psych, which is the YAML parser that ship with Ruby.
Rather than just closing my issue immediately... is there a known version of Ruby that works with Cocoapods? I'm using RVM and I'm on ruby-2.1.1, I don't really write much ruby, so is there a version I should be on?
This isn't a ruby version issue, but rather an issue with your specific installation.
What would help with this? Is it an issue with my installation of ruby, or the packages installed? Again, I'm not a ruby person. Would reinstalling Ruby mitigate this?
If anyone else runs into this issue:
I upgraded to ruby 2.2.2 (latest) via rvm (rvm install ruby-2.2.2; ruby use ruby-2.2.2) and I can now run pod install
For anyone else trying, the second command should be rvm use ruby-2.2.2
Most helpful comment
For anyone else trying, the second command should be
rvm use ruby-2.2.2