ios - 更新了gem后怎么输入都是这个错误
黄舟
黄舟 2017-04-18 09:51:34
0
2
461

chenfengdeMacBook-Pro:~ chenfeng$ gem install cocoapods
/Users/chenfeng/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:17:in `require': cannot load such file -- stringio (LoadError)

from /Users/chenfeng/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:17:in `<top (required)>'
from /Users/chenfeng/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/site_ruby/2.0.0/rubygems.rb:1333:in `require'
from /Users/chenfeng/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/site_ruby/2.0.0/rubygems.rb:1333:in `<module:Gem>'
from /Users/chenfeng/.rvm/rubies/ruby-2.0.0-p643/lib/ruby/site_ruby/2.0.0/rubygems.rb:116:in `<top (required)>'
from <internal:gem_prelude>:1:in `require'
from <internal:gem_prelude>:1:in `<compiled>'

求大神指点

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

全部回复(2)
PHPzhong

应该是源的问题,使用官方源的请检查梯子工作是否正常,不然还是换成 ruby-china 的源吧

小葫芦

我也遇到同一个问题,请问解决了吗,求指点指点QQ:823895643

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板