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.
Take care
This is an advanced feature for expert users of Bundler.
Option | Applied on | Description | Clouds |
---|---|---|---|
bundler / options / without | An 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 / deployment | Default: true | All | |
bundler / options / quiet | Default: true | All | |
bundler / options / full-index | Default: false | All | |
bundler / options / ... | Any other valid bundle install options you want to apply | All |
Example YAML for Bundle Install options in Rails
Common Use Cases
Excluding Groups
To exclude certain gem groups from installation:
Using Local Gems
To use local gem repositories:
Verbose Output
For debugging bundle issues:
Jobs Configuration
To control parallel gem installation: