The Bundle I use for my blog may be inaccessible every time I try to install the Bundle:

Ruby China official website has a solution, replace the mirror source can be:

Here I record my process for direct configuration later:

1. Update the gem

I need root permission without sudo, so I added it:

sudo gem update --system

Check out the updated version 2.7.7. No problem:

Gem - v 2.7.7

2. The bundle config modifies the Ruby-China image

Projects that use Gemfile and Bundler can replace the image without modifying the Gemfile file by executing the following command:

bundle config mirror.https://rubygems.org https://gems.ruby-china.com

Then I execute bundle install, and there you go: