This example project contains Gemfile.lock files, which are unnecessary for newer versions of Ruby. So these files should be removed in order to use "bundle install" command.
Reference:
https://stackoverflow.com/questions/73522137/search-up-undefined-method-untaint-error-after-ruby-upgrade