How to change the version of bundler used in Cloud Functions deployment?

Context Deployments to Cloud Functions have been failing since a few days ago. Gemfile source "https://rubygems.org" ruby "~> 2.7.0" git_source(:github) {|repo_name| "...