bundle install --path vendor/bundle --binstubs vendor/bin
の時の以下の警告は、
[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 path 'vendor/bundle'`, and stop using this flag [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs` Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.2.22). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.22`.
以下のこれ
bundle config set path 'vendor/bundle
してから、
bundle install