Sha256: d80c0b718a7f2e58c456df37915e098045a6ee68e170a0d84719207adb772edf

Contents?: true

Size: 1.07 KB

Versions: 25

Compression:

Stored size: 1.07 KB

Contents

# Bundler

The bundler source will detect dependencies `Gemfile` and `Gemfile.lock` files are found at an apps `source_path`.  The source uses the `Bundler` API to enumerate dependencies from `Gemfile` and `Gemfile.lock`.

**Note** The bundler source cannot be used when running the [packaged licensed executable](../packaging.md)

### Excluding gem groups

The bundler source determines which gem groups to include or exclude with the following logic, in order of precedence.
1. Include all groups specified in the Gemfile
2. Exclude all groups from the `without` bundler configuration (e.g. `.bundle/config`)
3. Include all groups from the `with` bundler configuration (e.g. `.bundle/config`)
4. Exclude all groups from the `without` licensed configuration (`:development` and `:test` if not otherwise specified)

`licensed` can be configured to override the default "without" development and test groups in the configuration file.

Strings and string arrays are both :+1:

```yml
bundler:
  without: development
```

or

```yml
bundler:
  without:
    - build
    - development
    - test
```

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
licensed-3.9.1 docs/sources/bundler.md
licensed-3.9.0 docs/sources/bundler.md
licensed-3.8.0 docs/sources/bundler.md
licensed-3.7.5 docs/sources/bundler.md
licensed-3.7.4 docs/sources/bundler.md
licensed-3.7.3 docs/sources/bundler.md
licensed-3.7.2 docs/sources/bundler.md
licensed-3.7.1 docs/sources/bundler.md
licensed-3.7.0 docs/sources/bundler.md
licensed-3.6.0 docs/sources/bundler.md
licensed-3.5.0 docs/sources/bundler.md
licensed-3.4.4 docs/sources/bundler.md
licensed-3.4.3 docs/sources/bundler.md
licensed-3.4.2 docs/sources/bundler.md
licensed-3.4.1 docs/sources/bundler.md
licensed-3.4.0 docs/sources/bundler.md
licensed-3.3.1 docs/sources/bundler.md
licensed-3.3.0 docs/sources/bundler.md
licensed-3.2.3 docs/sources/bundler.md
licensed-3.2.2 docs/sources/bundler.md