Could not find a valid gem 'jekyll' (>= 0)

On Ubuntu 22.04.4 LTS, I am following Jekyll on Ubuntu | Jekyll • Simple, blog-aware, static sites. But I am having this error:

$ gem install jekyll bundler
ERROR:  Could not find a valid gem 'jekyll' (>= 0), here is why:
          Unable to download data from - Net::OpenTimeout: execution expired (

Installed Ruby and Gem:

$ ruby -v
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]
$ gem -v