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

后端 未结 6 1748
时光取名叫无心
时光取名叫无心 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:41

    I had the very same error and looked into the psych gem

    $ gem list --local | grep psych
    psych (2.0.4, 2.0.0)
    

    as version 2.0.4 was recently installed I removed it, keeping only version 2.0.0

    $ gem uninstall psych -v '2.0.4'
    Successfully uninstalled psych-2.0.4
    

    After that, everything worked fine again!

提交回复
热议问题