This is an smart version of the bundle install
command that stores downloaded gems in a cache directory that is shared with future builds. This should improve the execution time of the future builds.
- Add
version
option
path
(optional, default:$WERCKER_CACHE_DIR/bundle-install/
) The path which will be used to store the gem files. Leave empty to enable caching.without
(optional) Exclude gems that are part of the specified named group.standalone
(optional) Make a bundle that can work without the Bundler runtime.binstubs
(optional) Generate bin stubs for bundled gems to ./bin.clean
(optional) Run bundle clean automatically after install.full-index
(optional) Use the rubygems modern index instead of the API endpoint.deployment
(optional) Install using defaults tuned for deployment environments.local
(optional) Do not attempt to fetch gems remotely and use the gem cache instead.frozen
(optional) Do not allow the Gemfile.lock to be updated after this install.jobs
(optional) Install gems parallely by starting the number of workers specified (require at least bundler1.5
).version
(optional, default:>=1.5.2
) If no bundler is found, install bundler with this version. Supports semver version.gemfile
(optional, default:Gemfile
) The name of the file that bundler should use as the Gemfile.
build:
steps:
- bundle-install
The MIT License (MIT)
- Add
gemfile
option
- Add
version
option
- Fix bug if cwd parameter is used
- Only install bundler if an Gemfile is found
- Always display bundle version information
- Update to bundler
1.5.2
- Add
jobs
parameter.
- Remove unnecessary 'cd' commands
- Add frozen flag
- Initial release