gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
bundle config mirror.https://rubygems.org/ https://gems.ruby-china.com/
~/.gemrc
---
:sources:
- https://gems.ruby-china.com/
~/.bundle/config
---
BUNDLE_MIRROR__HTTPS://RUBYGEMS__ORG/: "https://gems.ruby-china.com/"