." generated with Ronn-NG/v0.10.1 ." github.com/apjanke/ronn-ng/tree/0.10.1 .TH “BUNDLE-ADD” “1” “July 2025” “” .SH “NAME” fBbundle-addfR - Add gem to the Gemfile and run bundle install .SH “SYNOPSIS” fBbundle addfR fIGEM_NAMEfR [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--path=PATH] [--git=GIT|--github=GITHUB] [--branch=BRANCH] [--ref=REF] [--quiet] [--skip-install] [--strict|--optimistic] .SH “DESCRIPTION” Adds the named gem to the [fBGemfile(5)fR] and run fBbundle installfR. fBbundle installfR can be avoided by using the flag fB--skip-installfR. .SH “OPTIONS” .TP fB--version=VERSIONfR, fB-v=VERSIONfR Specify version requirements(s) for the added gem. .TP fB--group=GROUPfR, fB-g=GROUPfR Specify the group(s) for the added gem. Multiple groups should be separated by commas. .TP fB--source=SOURCEfR, fB-s=SOURCEfR Specify the source for the added gem. .TP fB--require=REQUIREfR, fB-r=REQUIREfR Adds require path to gem. Provide false, or a path as a string. .TP fB--path=PATHfR Specify the file system path for the added gem. .TP fB--git=GITfR Specify the git source for the added gem. .TP fB--github=GITHUBfR Specify the github source for the added gem. .TP fB--branch=BRANCHfR Specify the git branch for the added gem. .TP fB--ref=REFfR Specify the git ref for the added gem. .TP fB--glob=GLOBfR Specify the location of a dependency’s .gemspec, expanded within Ruby (single quotes recommended). .TP fB--quietfR Do not print progress information to the standard output. .TP fB--skip-installfR Adds the gem to the Gemfile but does not install it. .TP fB--optimisticfR Adds optimistic declaration of version. .TP fB--strictfR Adds strict declaration of version. .SH “EXAMPLES” .IP “1.” 4 You can add the fBrailsfR gem to the Gemfile without any version restriction. The source of the gem will be the global source. .IP fBbundle add railsfR .IP “2.” 4 You can add the fBrailsfR gem with version greater than 1.1 (not including 1.1) and less than 3.0. .IP fBbundle add rails --version “> 1.1, < 3.0”fR .IP “3.” 4 You can use the fBgems.example.comfR custom source and assign the gem to a group. .IP fBbundle add rails --version “~> 5.0.0” --source “gems.example.com” --group “development”fR .IP “4.” 4 The following adds the fBgemfR entry to the Gemfile without installing the gem. You can install gems later via fBbundle installfR. .IP fBbundle add rails --skip-installfR .IP “5.” 4 You can assign the gem to more than one group. .IP fBbundle add rails --group “development, test”fR .IP “” 0 .SH “SEE ALSO” Gemfile(5) fIbundler.io/man/gemfile.5.htmlfR, bundle-remove(1) fIbundle-remove.1.htmlfR