Sha256: dbca331678c4b977a3d364ba298bd32445ebc91b8e614819f63d1cd661783957

Contents?: true

Size: 1.07 KB

Versions: 22

Compression:

Stored size: 1.07 KB

Contents

bundle-add(1) -- Add gem to the Gemfile and run bundle install
================================================================

## SYNOPSIS

`bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--skip-install] [--strict] [--optimistic]

## DESCRIPTION
Adds the named gem to the Gemfile and run `bundle install`. `bundle install` can be avoided by using the flag `--skip-install`.

Example:

bundle add rails

bundle add rails --version "< 3.0, > 1.1"

bundle add rails --version "~> 5.0.0" --source "https://gems.example.com" --group "development"

bundle add rails --skip-install

bundle add rails --group "development, test"

## OPTIONS
* `--version`, `-v`:
  Specify version requirements(s) for the added gem.

* `--group`, `-g`:
  Specify the group(s) for the added gem. Multiple groups should be separated by commas.

* `--source`, , `-s`:
  Specify the source for the added gem.

* `--skip-install`:
  Adds the gem to the Gemfile but does not install it.

* `--optimistic`:
  Adds optimistic declaration of version

* `--strict`:
  Adds strict declaration of version

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
rubygems-update-3.0.9 bundler/man/bundle-add.ronn
rubygems-update-3.0.8 bundler/man/bundle-add.ronn
rubygems-update-3.0.7 bundler/man/bundle-add.ronn
rubygems-update-3.0.6 bundler/man/bundle-add.ronn
rubygems-update-3.0.5 bundler/man/bundle-add.ronn
rubygems-update-3.0.4 bundler/man/bundle-add.ronn
bundler-2.0.2 man/bundle-add.ronn
rubygems-update-3.0.3 bundler/man/bundle-add.ronn
bundler-2.0.1 man/bundle-add.ronn
bundler-2.0.0 man/bundle-add.ronn
rubygems-update-3.0.2 bundler/man/bundle-add.ronn
bundler-2.0.0.pre.3 man/bundle-add.ronn
bundler-1.17.3 man/bundle-add.ronn
rubygems-update-3.0.1 bundler/man/bundle-add.ronn
rubygems-update-3.0.0 bundler/man/bundle-add.ronn
bundler-1.17.2 man/bundle-add.ronn
bundler-2.0.0.pre.2 man/bundle-add.ronn
bundler-2.0.0.pre.1 man/bundle-add.ronn
bundler-1.17.1 man/bundle-add.ronn
bundler-1.17.0 man/bundle-add.ronn