Minor: deprecated flags used by 'bundle'

This is minor, but I keep spotting these two DEPRECATED warnings every time I do an upgrade, and I suppose sooner or later it’ll need to be fixed.

$ bundle install --deployment --jobs 4 --without test development
[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 --local deployment 'true'`, 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 --local without 'test development'`, and stop using this flag

Possibly it’s this line here which needs a tweak:

1 Like