diff options
author | Dennis Suratna <dennis.suratna@gmail.com> | 2017-04-24 11:04:44 -0700 |
---|---|---|
committer | Dennis Suratna <dennis.suratna@gmail.com> | 2017-04-24 11:04:44 -0700 |
commit | 9f00c52f0dce0b5ce4cb3d6e81c83cb628d26bec (patch) | |
tree | 5c10ca2753b2be70e509acb57bb5370c084d89ae | |
parent | 29a0e80c9f9fa745c0adaf4de6366b4f582e8a51 (diff) | |
download | bundler-9f00c52f0dce0b5ce4cb3d6e81c83cb628d26bec.tar.gz |
[Documentation] Add documentation
-rw-r--r-- | man/bundle-add.ronn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/man/bundle-add.ronn b/man/bundle-add.ronn new file mode 100644 index 0000000000..1c8b2d97af --- /dev/null +++ b/man/bundle-add.ronn @@ -0,0 +1,27 @@ +bundle-add(1) -- Add gem to Gemfile and run bundle install +================================================================ + +## SYNOPSIS + +`bundle add` [--group=GROUP] [--version=VERSION] [--source=SOURCE] [GEM] + +## DESCRIPTION +Adds the named gem to Gemfile and run `bundle install`. + +Example: + +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" --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. |