All apps/Bundler

Bundler

bundler

Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.

Runs as bundle, bundler|macOS, Linux, Windows|bundler.io

Command form

ai-draft · 5 tasks · 27 fields

Install, update and add gems for a Ruby project. Only everyday bundle commands are covered; exec, config, gem and binstubs are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui bundler

bundle install

Install gems

Install the gems in the Gemfile or Gemfile.lock. Path, binstub and trust-policy options are left out.

Install gemsExample values, fixed in this page — nothing here reaches a terminal
Basic
Local gems only
--local
Parallel jobs
integer
TasksEach one presets the form for one job
Install
localjobs
CI install
deploymentfrozenjobs
ParametersOnly these flags are editable in the form
Deployment mode
For production and CI use.
boolean
--deployment
Frozen lockfile
Do not allow the lock file to update.
boolean
--frozen
Local gems only
Use only gems already downloaded or cached.
boolean
--local
Parallel jobs
Maximum number of parallel installs.
integer
--jobs
Retries
Retry failed network requests N times.
integer
--retry
Skip groups
Groups to NOT install.
string
--without
Include groups
Groups to install.
string
--with
Gemfile
The Gemfile to use.
path
--gemfile
Remove unused gems
Remove unused gems after install.
boolean
--clean
Quiet
Do not print to stdout.
boolean
--quiet

bundle update

Update gems

Update gems to newer versions. Leave the gem name empty and tick "all" to update everything.

Update gemsExample values, fixed in this page — nothing here reaches a terminal
Basic
Update all gems
--all
TasksEach one presets the form for one job
Update everything
all
Update one gem
gempatchminorconservative
ParametersOnly these flags are editable in the form
Gem
Gem to update; repeat to update several.
string · positional 0 · repeatable
Update all gems
Update all gems specified in the Gemfile.
boolean
--all
Patch only
Prefer updating only to the next patch version.
boolean
--patch
Minor only
Prefer updating only to the next minor version.
boolean
--minor
Major allowed
Prefer updating to the next major version (default).
boolean
--major
Conservative
Do not allow shared dependencies to be updated.
boolean
--conservative
Local gems only
Use only gems already downloaded or cached.
boolean
--local
Group
Only update the gems in the specified group.
string
--group-g
Parallel jobs
Number of jobs to run in parallel.
integer
-j--jobs
Quiet
Only output warnings and errors.
boolean
--quiet

bundle add

Add a gem

Add a gem to the Gemfile and run bundle install.

Add a gemExample values, fixed in this page — nothing here reaches a terminal
Basic
Gem name*
string
Version requirement
string
Group
developmentstring
TasksEach one presets the form for one job
Add a development gem
gemgroupversion
ParametersOnly these flags are editable in the form
Gem name
Name of the gem to add.
string · positional 0
Version requirement
Specify version requirements, e.g. ~> 1.2.
string
--version-v
Group
Group(s) for the added gem, e.g. development.
string
--group-g
Source
Gem source.
string
--source-s
Skip install
Add to the Gemfile without installing.
boolean
--skip-install
Optimistic version
Adds optimistic declaration of version.
boolean
--optimistic
Strict version
Adds strict declaration of version.
boolean
--strict
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed bundle against its version. A form that does not match your version is not offered.