how to solve “ruby installation is missing psych” error?

后端 未结 30 3404
悲哀的现实
悲哀的现实 2020-11-28 17:54

I used rvm to install ruby 1.9.3. even though it was successfully installed, it complained about libyaml. and now every time i wanna install a gem (say rails) this warning s

30条回答
  •  感情败类
    2020-11-28 18:25

    I reinstalled ruby 1.9.3 with libyaml support:

    rvm reinstall 1.9.3 --with-libyaml
    

    I made sure that I would use 1.9.3 before installing psych:

    rvm use 1.9.3
    

    I installed psych:

    gem install psych
    

提交回复
热议问题