Unable to resolve Ruby error (missing psych)

前端 未结 8 1368
死守一世寂寞
死守一世寂寞 2020-12-16 16:38

Whenever I run something with Ruby on my server, I get the following error:

/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/yaml.rb:56:in `

        
8条回答
  •  天命终不由人
    2020-12-16 17:10

    In case people still hit this, I fixed it using the new autolibs feature in RVM, which automatically installs dependencies using your homebrew libraries (check out rvm help autolibs for info.)

    rvm reinstall 1.9.3 --autolibs=2

提交回复
热议问题