Unable to resolve Ruby error (missing psych)

前端 未结 8 1371
死守一世寂寞
死守一世寂寞 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:21

    I had this same libyaml issue with CentOS 6.2

    Doing...

    rvm pkg install libyaml
    rvm reinstall 1.9.3 --with-libyaml-dir=/usr/local/rvm/usr
    

    Fixed it for me.

    (thanks to @Eugene)

提交回复
热议问题