Skip to content
Latest commit 3f5e018 @homu homu Auto merge of #4291 - RochesterinNYC:add-clarifying-usage-message-for…
…-deployment-and-system, r=indirect

Add alternative error message for when `--deployment` and `--system` flags are both used on `bundle install`

Calling `bundle install --deployment --system` currently results in the following error message:

```
$ bundle install --deployment --system
You have specified both a path to install your gems to,
as well as --system. Please choose.
```
 which is a little confusing.

This PR changes the behavior to:

```
$ bundle install --deployment --system
You have specified both --deployment as well as --system. Please choose. #<-- in red
```
Something went wrong with that request. Please try again.