BUNDLE-UPDATE(1) General Commands Manual BUNDLE-UPDATE(1) (NAME) bundle-update - gem (SYNOPSIS) bundle update *gems [--all] [--group=NAME] [--source=NAME] [--local] [--ruby] [--bundler[=VERSION]] [--force] [--full-index] [--gemfile=GEMFILE] [--jobs=NUMBER] [--quiet] [--patch|--minor|--major] [--pre] [--strict] [--conservative] (DESCRIPTION) gem ( --all gem) gem Gemfile.lock . bundle install(1) bundle-install.1.html gem . gem bundle update . (OPTIONS) --all gem Gemfile. --group=, -g= gem . gem development bundle update --group development . bundle update rails --group test gem rails gem test . --source= :git :path Gemfile(5). :git http://github.com/rails/rails.git bundle update --source rails . --local gem () gem . --ruby Ruby Ruby . --bundler[=BUNDLER] bundler bundler . --force, --redownload gem . --full-index gem. --gemfile=GEMFILE gem [Gemfile(5)][Gemfile(5)]. --jobs=, -j= . . --retry=[] git number . --quiet . --patch (patch) . --minor (minor) . --major (major) (). --pre (prerelease) . --strict gem --patch | --minor | --major . --conservative bundle install . GEM (UPDATING ALL GEMS) bundle update --all bundler gem gem (resolve) . Gemfile(5) : source "https://rubygems.org" gem "rails", "3.0.0.rc" gem "nokogiri" bundle install(1) bundle-install.1.html bundler : Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Installing builder 2.1.2 Installing abstract 1.0.0 Installing rack 1.2.8 Using bundler 1.7.6 Installing rake 10.4.0 Installing polyglot 0.3.5 Installing mime-types 1.25.1 Installing i18n 0.4.2 Installing mini_portile 0.6.1 Installing tzinfo 0.3.42 Installing rack-mount 0.6.14 Installing rack-test 0.5.7 Installing treetop 1.4.15 Installing thor 0.14.6 Installing activesupport 3.0.0.rc Installing erubis 2.6.6 Installing activemodel 3.0.0.rc Installing arel 0.4.0 Installing mail 2.2.20 Installing activeresource 3.0.0.rc Installing actionpack 3.0.0.rc Installing activerecord 3.0.0.rc Installing actionmailer 3.0.0.rc Installing railties 3.0.0.rc Installing rails 3.0.0.rc Installing nokogiri 1.6.5 Bundle complete! 2 Gemfile dependencies, 26 gems total. Use `bundle show [gemname]` to see where a bundled gem is installed. gem Gemfile(5) gem . bundler Gemfile.lock . bundle install(1) bundle-install.1.html bundler gem . (commit) Gemfile.lock bundle install(1) bundle-install.1.html gem . erubis mail gem . gem Gemfile(5) . bundle update --all Gemfile.lock . gem bundle update --all gem . GEM (UPDATING A LIST OF GEMS) gem Gemfile(5) gem Gemfile.lock . 1.4.4 nokogiri Rails . bundle update nokogiri . bundler nokogiri Rails . (OVERLAPPING DEPENDENCIES) gem Gemfile(5) . thin rack-perftools-profiler : source "https://rubygems.org" gem "thin" gem "rack-perftools-profiler" thin rack >= 1.0 rack-perftools-profiler rack ~> 1.0 . bundle install : Fetching source index for https://rubygems.org Installing daemons (1.1.0) Installing eventmachine (0.12.10) with native extensions Installing open4 (1.0.1) Installing perftools.rb (0.4.7) with native extensions Installing rack (1.2.1) Installing rack-perftools_profiler (0.0.2) Installing thin (1.2.7) with native extensions Using bundler (1.0.0.rc.3) gem rack . bundle update thin bundler daemons eventmachine rack thin open4 perftools.rb rack-perftools_profiler . bundle update thin rack rack-perftools_profiler . gem bundle update bundler gem gem . 1.14 CONSERVATIVE UPDATING bundle install(1) bundle-install.1.html : thin Gemfile(5) bundle install(1) bundle-install.1.html daemons eventmachine rack . CONSERVATIVE UPDATING bundle install(1) bundle-install.1.html . 1.14 --conservative . (PATCH LEVEL OPTIONS) 1.14 (patch-level) gem . : --patch --minor --major. --strict . --patch (patch) . --minor (minor) . --major (major) (). --strict gem --patch | --minor | --major . Bundler Gemfile gem () . ( --patch) Bundler --patch --minor . . gem 'foo' 1.0.2 Gemfile 1.0.3 1.0.4 1.1.0 1.1.1 2.0.0 (--major) "2.0.0, 1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2" . --patch "1.0.4, 1.0.3, 1.0.2, 1.1.1, 1.1.0, 2.0.0" . --minor "1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2, 2.0.0" . --strict gem . --patch --strict "1.0.4, 1.0.3, 1.0.2" . --minor --strict "1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2" . gem Gemfile . gem foo Gemfile '~> 1.0' --minor --strict . (PATCH LEVEL EXAMPLES) gem : foo 1.4.3, requires: ~> bar 2.0 foo 1.4.4, requires: ~> bar 2.0 foo 1.4.5, requires: ~> bar 2.1 foo 1.5.0, requires: ~> bar 2.1 foo 1.5.1, requires: ~> bar 3.0 bar with versions 2.0.3, 2.0.4, 2.1.0, 2.1.1, 3.0.0 Gemfile: gem 'foo' Gemfile.lock: foo (1.4.3) bar (~> 2.0) bar (2.0.3) : # Command Line Result ------------------------------------------------------------ 1 bundle update --patch 'foo 1.4.5', 'bar 2.1.1' 2 bundle update --patch foo 'foo 1.4.5', 'bar 2.1.1' 3 bundle update --minor 'foo 1.5.1', 'bar 3.0.0' 4 bundle update --minor --strict 'foo 1.5.0', 'bar 2.1.1' 5 bundle update --patch --strict 'foo 1.4.4', 'bar 2.0.4' bar 2.1.1 ( ) foo 1.4.5 . foo bar Gemfile . bar foo 1.5.1 3.0.0 bar . foo 1.5.1 --strict bar 3.0.0 . --strict foo bar 1.4.4 2.0.4 . (RECOMMENDED WORKFLOW) bundler : o Gemfile(5) : $ bundle install o Gemfile.lock (commit) : $ git add Gemfile.lock o (checkout) : $ bundle install o (deployment) : $ bundle install --deployment o Gemfile(5) : $ bundle install o Gemfile.lock : $ git add Gemfile.lock o bundle install(1) bundle-install.1.html gem Gemfile(5) : $ bundle update rails thin o gem gem Gemfile(5) : $ bundle update --all September 2025 BUNDLE-UPDATE(1)