Hello,
I’m using Unity 5.2.4f and I have installed ruby 1.9.3 on my old Mac with Lion OS X 10.7.5 system on it.
When I open Unity project there is an installation attempt which failing and I don’t know how to solve this, after trying few days. Here is the error I get:
IOS RESOLVER
Failed to install Cocoapods for the current user.
It will not be possible to install Cocoapods in the generated Xcode project which will result in link errors when building your application.
For more information see:
https://guides.cocoapods.org/using/getting-started.html
'gem install activesupport -v 4.2.6 --user-install' failed with code (1):
WARNING: You don't have /Users/DAN26/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
ERROR: Error installing activesupport:
i18n requires Ruby version >= 1.9.3.
So I go to the Terminal and do the following:
export PATH="/Users/DAN26/.gem/ruby/1.9.3/bin:$PATH"
No change. So I do this:
export PATH="/Users/DAN26/.gem/ruby/1.8/bin:$PATH"
Still get the same message…
Enter $PATH
-bash: /usr/local/opt/openssl/bin:/Users/DAN26/.rbenv/bin:/Users/DAN26/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/DAN26/.rvm/bin: No such file or directory
Also if I enter in the Terminal:
gem list
I get this:
*** LOCAL GEMS ***
activesupport (4.2.9)
bigdecimal (1.1.0)
fuzzy_match (2.0.4)
i18n (0.8.6)
io-console (0.3)
json (1.5.5)
minitest (5.10.3, 2.5.1)
nap (1.1.0)
rake (0.9.2.2)
rdoc (3.9.5)
thread_safe (0.3.6)
tzinfo (1.2.3)
Please help me to solve this problem
Thanks
EDIT: I have installed activesupport 4.2.5 and cocoapods 0.34.4 but no change.
*** LOCAL GEMS ***
activesupport (4.2.9, 4.2.6, 4.2.5, 3.2.22.5)
bigdecimal (1.1.0)
claide (0.7.0)
cocoapods (0.34.4)
cocoapods-core (0.34.4)
cocoapods-downloader (0.7.2)
cocoapods-plugins (0.3.2)
cocoapods-trunk (0.3.1)
cocoapods-try (0.4.5)
colored (1.2)
escape (0.0.4)
fuzzy_match (2.0.4)
i18n (0.8.6)
io-console (0.3)
json (1.8.6, 1.5.5)
json_pure (1.8.6)
minitest (5.10.3, 2.5.1)
multi_json (1.12.1)
nap (1.1.0, 0.8.0)
netrc (0.7.8)
open4 (1.3.4)
rake (0.9.2.2)
rdoc (3.9.5)
thread_safe (0.3.6)
tzinfo (1.2.3)
xcodeproj (0.19.4)