当尝试在OSX 10.9上安装the
rubyracer时,使用以下命令:
$gem install therubyracer -v '0.12.0'
我得到错误:
ERROR: Error installing therubyracer: invalid gem: package is corrupt,exception while verifying: undefined method `path2class' for #<Psych::ClassLoader:0x000001018cf210> (NoMethodError) in /Users/doved/.rvm/gems/ruby-2.0.0-p353/cache/therubyracer-0.12.0.gem