Error:

bundle stderr: Your bundle only supports platforms ["x86_64-darwin-20"] but your local platform
is x86_64-linux. Add the current platform to the lockfile with `bundle lock

Fix:

bundle lock --add-platform x86_64-linux