# Minor: deprecated flags used by 'bundle'

**URL:** https://meta.discourse.org/t/minor-deprecated-flags-used-by-bundle/177707
**Category:** Support
**Created:** [January 29, 2021, 6:41pm UTC](https://meta.discourse.org/t/minor-deprecated-flags-used-by-bundle/177707 "2021-01-29T18:41:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [January 29, 2021, 6:41pm UTC](https://meta.discourse.org/t/minor-deprecated-flags-used-by-bundle/177707/1 "2021-01-29T18:41:12Z")

</div>

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:

> <https://github.com/discourse/discourse/blob/a0bbc346cb5d5b89d1a3efdfa89869349a8b067f/script/switch_container_ruby#L49>
