Ruby gem installation error after OSX Yosemite and Xcode 6 installation

前端 未结 2 997
暖寄归人
暖寄归人 2021-02-08 05:30

I tried installing a gem like I did before installing Yosemite, but now I\'m getting an error:

/Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:159:in `synchronize\': E

2条回答
  •  情歌与酒
    2021-02-08 06:28

    I had the same issue. Downgrading to ruby 1.9.3 with RVM fixed the issue for me on 10.10 Yosemite - here are the steps taken:

    $ \curl -sSL https://get.rvm.io | bash
    $ source /Users/shedali/.rvm/scripts/rvm
    $ rvm install 1.9.3 --with-gcc=clang
    $ gem install [packagename]
    

提交回复
热议问题