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

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>'

求大神指点

黄舟
黄舟

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

reply all(2)
PHPzhong

It should be a problem with the source. If you use the official source, please check whether the ladder is working properly, otherwise you should change to the source of ruby-china

小葫芦

I also encountered the same problem. Have you solved it? Please give me some advice. QQ: 823895643

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template