psych icon indicating copy to clipboard operation
psych copied to clipboard

YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0)

Open abhishekraics001 opened this issue 6 years ago • 1 comments

Dear Team,

After update my system Sierra To High Sierra(10.13.4) & Xcode(9.3), i am gatting error when try to create pod file.

  1. My current gen list is :----------

bigdecimal (default: 1.2.0)

gem-wrappers (1.3.2)

io-console (default: 0.4.2)

json (default: 1.7.7)

minitest (default: 4.3.2)

psych (default: 2.0.0)

rake (default: 0.9.6)

rdoc (default: 4.0.0)

rvm (1.11.3.9)

test-unit (default: 2.0.0.0)

Luminouss-MacBook-Pro:~ luminous$

  1. When i try to create POD file for my project with then gatting

Luminouss-MacBook-Pro:~ luminous$ cd /Users/luminous/Desktop/MyTestApp/DoxBay/DoxBayNew // path | root of project

Luminouss-MacBook-Pro:DoxBayNew luminous$ pod init // commend for create pod file

-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory // error message

  1. Main Eoor when i try to upodate / install / uninstall any gem file

YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0)

abhishekraics001 avatar Apr 23 '18 06:04 abhishekraics001

It looks like installing Cocoapods via the gem command fixes the issue.

yuki24 avatar Apr 23 '18 14:04 yuki24