." generated with nRonn/v0.11.1 ." github.com/n-ronn/nronn/tree/0.11.1 .TH “BUNDLE-ADD” “1” “October 2024” “” .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--versionfR, fB-vfR Specify version requirements(s) for the added gem. .TP fB--groupfR, fB-gfR Specify the group(s) for the added gem. Multiple groups should be separated by commas. .TP fB--sourcefR, fB-sfR Specify the source for the added gem. .TP fB--requirefR, fB-rfR Adds require path to gem. Provide false, or a path as a string. .TP fB--pathfR Specify the file system path for the added gem. .TP fB--gitfR Specify the git source for the added gem. .TP fB--githubfR Specify the github source for the added gem. .TP fB--branchfR Specify the git branch for the added gem. .TP fB--reffR Specify the git ref for the added gem. .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