解决 bad response Not Found 404 (http://ruby.taobao.org/latest_specs.4.8.gz)

原因:淘宝停止基于 HTTP 协议的镜像服务 需要改用https的协议
fix步骤:

  1. gem sources --remove http://ruby.taobao.org/

  2. gem sources -a https://ruby.taobao.org/

  3. gem sources -l

  4. sudo gem install cocoapods

你可能感兴趣的:(解决 bad response Not Found 404 (http://ruby.taobao.org/latest_specs.4.8.gz))