更新了gem后怎么输入都是这个错误
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>'
求大神指点
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
应该是源的问题,使用官方源的请检查梯子工作是否正常,不然还是换成 ruby-china 的源吧
我也遇到同一个问题,请问解决了吗,求指点指点QQ:823895643