Logo

Command Palette

Search for a command to run...

Bundle Install Options

Examples of Bundle Install options (Rails/Rack)

This allows you to customise your bundle install command by specifying options in your Manifest. We've listed some common examples below.

Please note that --shebang and --with bundler options are NOT currently supported.

OptionApplied onDescriptionClouds
bundler / options / withoutAn array of environments you want to exclude during bundle install e.g. ["development", "test", "custom"] Default: [] if Rails env is development, or ["development", "mock", "test"] otherwise.All
bundler / options / deploymentDefault: trueAll
bundler / options / quietDefault: trueAll
bundler / options / full-indexDefault: falseAll
bundler / options / ...Any other valid bundle install options you want to applyAll

Example YAML for Bundle Install options in Rails

rails:
    configuration:
      bundler:
        options:
          without: ["development", "test", "custom"]
          deployment: true
          quiet: true

Common Use Cases

Excluding Groups

To exclude certain gem groups from installation:

rails:
  configuration:
    bundler:
      options:
        without: ["development", "test", "staging"]

Using Local Gems

To use local gem repositories:

rails:
  configuration:
    bundler:
      options:
        local: true

Verbose Output

For debugging bundle issues:

rails:
  configuration:
    bundler:
      options:
        quiet: false
        verbose: true

Jobs Configuration

To control parallel gem installation:

rails:
  configuration:
    bundler:
      options:
        jobs: 4