Sha256: 602158e17a7d35ab8aff4a051692e8b3df56e1b1e6cc1c2ce98795524ec26a6f

Contents?: true

Size: 987 Bytes

Versions: 12

Compression:

Stored size: 987 Bytes

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`.

### 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

12 entries across 12 versions & 1 rubygems

Version Path
licensed-5.0.0 docs/sources/bundler.md
licensed-4.5.0 docs/sources/bundler.md
licensed-4.4.0 docs/sources/bundler.md
licensed-4.3.1 docs/sources/bundler.md
licensed-4.3.0 docs/sources/bundler.md
licensed-4.2.0 docs/sources/bundler.md
licensed-4.1.0 docs/sources/bundler.md
licensed-4.0.4 docs/sources/bundler.md
licensed-4.0.3 docs/sources/bundler.md
licensed-4.0.2 docs/sources/bundler.md
licensed-4.0.1 docs/sources/bundler.md
licensed-4.0.0 docs/sources/bundler.md