Capistrano で `--deployment` フラグは deprecated だと言われたときの対処方法。

Published at: 2020/04/09

症状[DEPRECATED] The `--deployment` 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 deployment 'true'`, and stop using this flag [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 '/my/app/path/shared/bundle'`, and stop using this flag [DEPRECATED] The `--without` 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 without 'development test'`, and stop using this flagなどと capistrano/bundler が warning を表示したときの対処方法。 deprecation なので、対処しなくても動きはするけれども。原因と対策https://github.com/capistrano/bundler/issues/115…