sudo gem install jekyll
Password:
Successfully installed jekyll-4.2.0
Parsing documentation for jekyll-4.2.0
Done installing documentation for jekyll after 0 seconds
1 gem installed
Afterward, when I run bundle exec jekyll serve, it gives:
`Could not find jekyll-3.8.5 in any of the sources` and `Run bundle install to install missing gems.`
Then, after I run, it shows
Fetching source index from https://rubygems.org/
ruby_dep-1.5.0 requires ruby version ~> 2.2, >= 2.2.5, which is incompatible with the current version, ruby 3.0.2p107