diff options
author | André Arko <mail@arko.net> | 2015-04-07 11:00:44 -0700 |
---|---|---|
committer | André Arko <mail@arko.net> | 2015-04-07 11:00:44 -0700 |
commit | 13f44d1241ca7a7ce435bd43790a26a0a140126b (patch) | |
tree | 35cf0ab2353f6736e2cb064cceeb7ec5c4e91c3f /man/gemfile.5.ronn | |
parent | 471e139fe6eccd7fffea3bd9d5638901ad2acf38 (diff) | |
parent | 8f987f26a623b80c65eb206d31e777d6bedbf172 (diff) | |
download | bundler-13f44d1241ca7a7ce435bd43790a26a0a140126b.tar.gz |
Merge pull request #3531 from jhass/optional_groups
Implement optional groups
Diffstat (limited to 'man/gemfile.5.ronn')
-rw-r--r-- | man/gemfile.5.ronn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/man/gemfile.5.ronn b/man/gemfile.5.ronn index 1340b59a27..89911695fc 100644 --- a/man/gemfile.5.ronn +++ b/man/gemfile.5.ronn @@ -430,11 +430,15 @@ applied to a group of gems by using block form. gem "sqlite3" end - group :development do + group :development, :optional => true do gem "wirble" gem "faker" end +In the case of the group block form the :optional option can be given +to prevent a group from being installed unless listed in the `--with` +option given to the `bundle install` command. + In the case of the `git` block form, the `:ref`, `:branch`, `:tag`, and `:submodules` options may be passed to the `git` method, and all gems in the block will inherit those options. |