Clean install OSX 10.9.1 returns “undefined method `path2class'” when trying to install gems

后端 未结 6 1762
时光取名叫无心
时光取名叫无心 2021-02-12 22:15

I just installed a clean Mavericks installation with Homebrew and RVM. Both brew doctor and rvm requirements return \"all good\", however, when I run <

6条回答
  •  佛祖请我去吃肉
    2021-02-12 22:43

    It turns out that this is a bug in an older version of psych, but it can't be solved, as long as you installed ruby with RVMs statically linked gems. So basically the problem is related to RVMs statically linked gems. Installing rubies with the --disable-binary solves the problem:

    rvm install 2.0.0-p353 --disable-binary
    

    Or reinstall with:

    rvm reinstall 2.0.0-p353 --disable-binary
    

提交回复
热议问题