Deploying via netlify now gives me an error

I’m pretty new to Jekyll, but when I deploy my site on Netlify :slight_smile:
I get this dispalyed.

Diagnosis: The build failure is due to the deprecated usage of the --path flag in the bundle command and the locked version of the public_suffix gem which has been removed from the source.

Solution:

  1. Update the --path flag in the bundle command to resolve the deprecation warning.
  2. Update the locked version of the public_suffix gem in the Gemfile to a version that is available in the source repository.

For the public_suffix gem:

  • Update the version in the Gemfile to a version of the gem that is available in the RubyGems repository.
  • For example, if version 6.0.1 is not available, change the version to a valid version that is available to resolve the issue.
  • After updating the Gemfile, commit the changes and trigger a new build.

and on Netlify’s deploy log I get this

10:23:10 PM: [DEPRECATED] The --path flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use bundle config set --local path '/opt/build/cache/bundle', and stop using this flag

10:23:10 PM: [DEPRECATED] The --binstubs option will be removed in favor of bundle binstubs --all

10:23:11 PM: Fetching gem metadata from https://rubygems.org/

10:23:11 PM: Your bundle is locked to public_suffix (6.0.1) from rubygems repository

10:23:11 PM: https://rubygems.org/ or installed locally, but that version can no longer be

10:23:11 PM: found in that source. That means the author of public_suffix (6.0.1) has removed

10:23:11 PM: it. You’ll need to update your bundle to a version other than public_suffix
(6.0.1) that hasn’t been removed in order to install.
Error during gem install

10:23:11 PM: Failing build: Failed to install dependencies