Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Bundler doesn't have a "--with" option #1772

Closed
Vanuan opened this issue Mar 17, 2012 · 1 comment
Closed

Bundler doesn't have a "--with" option #1772

Vanuan opened this issue Mar 17, 2012 · 1 comment

Comments

@Vanuan
Copy link

Vanuan commented Mar 17, 2012

As far as I understood, currently bundler do not have opt-in flag, i.e. if I want to include only production group, I'll have to use bundle install --without = all the groups except production. I just want a production group! Why would I bother to list all the groups I don't need? It's a very simple change to implement:

  1. If a user specified --with [with_groups]
  2. Install gems listed in (default_group + with_groups)

I think, currently bundle install --without follow the following algorithm:

  1. If a user specified --without [without_groups]
  2. Install gems listed in (default_group + all_groups - without_groups)

I think I could implement this myself

Vanuan added a commit to Vanuan/bundler that referenced this issue Mar 17, 2012
@indirect
Copy link
Member

Please see the explanation in #1771.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants