Sha256: 1be113841f48372d2ee878a733c4f489943e8802d1281318b29ace11fcc6aa73

Contents?: true

Size: 1.61 KB

Versions: 19

Compression:

Stored size: 1.61 KB

Contents

.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "BUNDLE\-ADD" "1" "December 2021" "" ""
.
.SH "NAME"
\fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install
.
.SH "SYNOPSIS"
\fBbundle add\fR \fIGEM_NAME\fR [\-\-group=GROUP] [\-\-version=VERSION] [\-\-source=SOURCE] [\-\-git=GIT] [\-\-github=GITHUB] [\-\-branch=BRANCH] [\-\-ref=REF] [\-\-skip\-install] [\-\-strict] [\-\-optimistic]
.
.SH "DESCRIPTION"
Adds the named gem to the Gemfile and run \fBbundle install\fR\. \fBbundle install\fR can be avoided by using the flag \fB\-\-skip\-install\fR\.
.
.P
Example:
.
.P
bundle add rails
.
.P
bundle add rails \-\-version "< 3\.0, > 1\.1"
.
.P
bundle add rails \-\-version "~> 5\.0\.0" \-\-source "https://gems\.example\.com" \-\-group "development"
.
.P
bundle add rails \-\-skip\-install
.
.P
bundle add rails \-\-group "development, test"
.
.SH "OPTIONS"
.
.TP
\fB\-\-version\fR, \fB\-v\fR
Specify version requirements(s) for the added gem\.
.
.TP
\fB\-\-group\fR, \fB\-g\fR
Specify the group(s) for the added gem\. Multiple groups should be separated by commas\.
.
.TP
\fB\-\-source\fR, , \fB\-s\fR
Specify the source for the added gem\.
.
.TP
\fB\-\-git\fR
Specify the git source for the added gem\.
.
.TP
\fB\-\-github\fR
Specify the github source for the added gem\.
.
.TP
\fB\-\-branch\fR
Specify the git branch for the added gem\.
.
.TP
\fB\-\-ref\fR
Specify the git ref for the added gem\.
.
.TP
\fB\-\-skip\-install\fR
Adds the gem to the Gemfile but does not install it\.
.
.TP
\fB\-\-optimistic\fR
Adds optimistic declaration of version
.
.TP
\fB\-\-strict\fR
Adds strict declaration of version

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/bundler-2.3.5/lib/bundler/man/bundle-add.1
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/bundler-2.3.5/lib/bundler/man/bundle-add.1
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/bundler-2.3.7/lib/bundler/man/bundle-add.1
rubygems-update-3.3.7 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.7 lib/bundler/man/bundle-add.1
rubygems-update-3.3.6 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.6 lib/bundler/man/bundle-add.1
rubygems-update-3.3.5 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.5 lib/bundler/man/bundle-add.1
rubygems-update-3.3.4 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.4 lib/bundler/man/bundle-add.1
rubygems-update-3.3.3 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.3 lib/bundler/man/bundle-add.1
rubygems-update-3.3.2 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.2 lib/bundler/man/bundle-add.1
rubygems-update-3.3.1 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.1 lib/bundler/man/bundle-add.1
rubygems-update-3.3.0 bundler/lib/bundler/man/bundle-add.1
bundler-2.3.0 lib/bundler/man/bundle-add.1