diff options
author | Andre Arko <andre@arko.net> | 2014-06-22 13:45:24 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-06-22 13:45:24 -0700 |
commit | 38e4aee8a7e18d7ccf306f79b7be64f717a74efe (patch) | |
tree | 18c3f9f44ae83476c66a7de73bcd41e1c2d873ec | |
parent | 9d550bed79b794e50f9236095d371ad145d085f0 (diff) | |
download | bundler-38e4aee8a7e18d7ccf306f79b7be64f717a74efe.tar.gz |
bundler/bundler-site@984e822914188835ea99b9432654eb775e87f8d2
71 files changed, 559 insertions, 118 deletions
diff --git a/index.html b/index.html index 2245b71d30..3c7f6e956f 100644 --- a/index.html +++ b/index.html @@ -107,7 +107,7 @@ <a href="http://webchat.freenode.net/?channels=bundler">#bundler on IRC</a> <a href="http://groups.google.com/group/ruby-bundler">Mailing list</a> <a href="https://github.com/bundler/bundler/blob/master/DEVELOPMENT.md">Contributing</a> - <a href="mailto:andre.arko+terence.lee@gmail.com">Email core team</a> + <a href="mailto:team@bundler.io">Email core team</a> </div> </div> <div id='sidebar'> diff --git a/issues.html b/issues.html index 1b0935baf8..b55bec0438 100644 --- a/issues.html +++ b/issues.html @@ -26,7 +26,7 @@ <p>Instructions for common Bundler uses can be found on the <a href="http://bundler.io/">Bundler documentation site</a>.</p> - <p>Detailed information about each Bundler command, including help with common problems, can be found in the <a href="http://bundler.io/v1.3/man/bundle.1.html">Bundler man pages</a>.</p> + <p>Detailed information about each Bundler command, including help with common problems, can be found in the <a href="http://bundler.io/man/bundle.1.html">Bundler man pages</a>.</p> <h2 id="troubleshooting">Troubleshooting</h2> diff --git a/man/bundle-config.1.html b/man/bundle-config.1.html index 76fea6307d..281b88b52b 100644 --- a/man/bundle-config.1.html +++ b/man/bundle-config.1.html @@ -224,7 +224,7 @@ mirror to fetch gems.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-config(1)</li> </ol> diff --git a/man/bundle-exec.1.html b/man/bundle-exec.1.html index e373b2c3f0..8beae5b835 100644 --- a/man/bundle-exec.1.html +++ b/man/bundle-exec.1.html @@ -222,7 +222,7 @@ that you aren't using (<code>gem uninstall gem_name</code>).</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-exec(1)</li> </ol> diff --git a/man/bundle-install.1.html b/man/bundle-install.1.html index 8249352adc..9d489b0684 100644 --- a/man/bundle-install.1.html +++ b/man/bundle-install.1.html @@ -419,7 +419,7 @@ does not work, run <a href="bundle-update.1.html">bundle update(1)</a>.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-install(1)</li> </ol> diff --git a/man/bundle-package.1.html b/man/bundle-package.1.html index b83b2fe245..b3cbb22aa7 100644 --- a/man/bundle-package.1.html +++ b/man/bundle-package.1.html @@ -132,7 +132,7 @@ deploying to production.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-package(1)</li> </ol> diff --git a/man/bundle-platform.1.html b/man/bundle-platform.1.html index e1efcbb4b0..bf0b53ac07 100644 --- a/man/bundle-platform.1.html +++ b/man/bundle-platform.1.html @@ -117,7 +117,7 @@ parse it from the <a class="man-ref" href="gemfile.5.html">Gemfile<span class="s <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-platform(1)</li> </ol> diff --git a/man/bundle-update.1.html b/man/bundle-update.1.html index 81c1a2e976..f031442188 100644 --- a/man/bundle-update.1.html +++ b/man/bundle-update.1.html @@ -253,7 +253,7 @@ still match the gems listed in the <a class="man-ref" href="gemfile.5.html">Gemf <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-update(1)</li> </ol> diff --git a/man/bundle.1.html b/man/bundle.1.html index a0eb87de62..e1a0577d50 100644 --- a/man/bundle.1.html +++ b/man/bundle.1.html @@ -143,7 +143,7 @@ and available to bundler</p></dd> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle(1)</li> </ol> diff --git a/man/gemfile.5.html b/man/gemfile.5.html index ab7ba824e7..e6a1701f43 100644 --- a/man/gemfile.5.html +++ b/man/gemfile.5.html @@ -437,7 +437,7 @@ bundler uses the following priority order:</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>Gemfile(5)</li> </ol> diff --git a/sitemap.xml b/sitemap.xml index c92bb8ce66..93e3979ea2 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,7 +2,7 @@ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://bundler.io</loc> - <lastmod>2014-04-21T04:13:12Z</lastmod> + <lastmod>2014-06-22T20:45:17Z</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> @@ -496,6 +496,9 @@ <loc>http://bundler.io/v1.5/whats_new.html</loc> </url> <url> + <loc>http://bundler.io/v1.6/bundle_binstubs.html</loc> + </url> + <url> <loc>http://bundler.io/v1.6/bundle_check.html</loc> </url> <url> @@ -520,6 +523,9 @@ <loc>http://bundler.io/v1.6/bundle_init.html</loc> </url> <url> + <loc>http://bundler.io/v1.6/bundle_inject.html</loc> + </url> + <url> <loc>http://bundler.io/v1.6/bundle_install.html</loc> </url> <url> diff --git a/v1.0/man/bundle-config.1.html b/v1.0/man/bundle-config.1.html index 439fe07f49..3418a8ada5 100644 --- a/v1.0/man/bundle-config.1.html +++ b/v1.0/man/bundle-config.1.html @@ -162,7 +162,7 @@ will take preference over global settings.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-config(1)</li> </ol> diff --git a/v1.0/man/bundle-exec.1.html b/v1.0/man/bundle-exec.1.html index 5ce1ed8f10..8e2d09e8b1 100644 --- a/v1.0/man/bundle-exec.1.html +++ b/v1.0/man/bundle-exec.1.html @@ -193,7 +193,7 @@ that you aren't using (<code>gem uninstall gem_name</code>).</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-exec(1)</li> </ol> diff --git a/v1.0/man/bundle-install.1.html b/v1.0/man/bundle-install.1.html index 5b8b620cb7..9e7e5fddcd 100644 --- a/v1.0/man/bundle-install.1.html +++ b/v1.0/man/bundle-install.1.html @@ -391,7 +391,7 @@ does not work, run <a href="bundle-update.1.html">bundle update(1)</a>.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-install(1)</li> </ol> diff --git a/v1.0/man/bundle-package.1.html b/v1.0/man/bundle-package.1.html index c9642964c0..b456fd6053 100644 --- a/v1.0/man/bundle-package.1.html +++ b/v1.0/man/bundle-package.1.html @@ -132,7 +132,7 @@ deploying to production.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-package(1)</li> </ol> diff --git a/v1.0/man/bundle-update.1.html b/v1.0/man/bundle-update.1.html index 1bf0401bb8..c87ec74fdb 100644 --- a/v1.0/man/bundle-update.1.html +++ b/v1.0/man/bundle-update.1.html @@ -253,7 +253,7 @@ still match the gems listed in the <a class="man-ref" href="gemfile.5.html">Gemf <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-update(1)</li> </ol> diff --git a/v1.0/man/bundle.1.html b/v1.0/man/bundle.1.html index 56bd261907..6f5d8ec70b 100644 --- a/v1.0/man/bundle.1.html +++ b/v1.0/man/bundle.1.html @@ -139,7 +139,7 @@ and available to bundler</p></dd> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle(1)</li> </ol> diff --git a/v1.0/man/gemfile.5.html b/v1.0/man/gemfile.5.html index f900aca68b..f502bd6555 100644 --- a/v1.0/man/gemfile.5.html +++ b/v1.0/man/gemfile.5.html @@ -369,7 +369,7 @@ bundler uses the following priority order:</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>Gemfile(5)</li> </ol> diff --git a/v1.1/man/bundle-config.1.html b/v1.1/man/bundle-config.1.html index 439fe07f49..3418a8ada5 100644 --- a/v1.1/man/bundle-config.1.html +++ b/v1.1/man/bundle-config.1.html @@ -162,7 +162,7 @@ will take preference over global settings.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-config(1)</li> </ol> diff --git a/v1.1/man/bundle-exec.1.html b/v1.1/man/bundle-exec.1.html index 5ce1ed8f10..8e2d09e8b1 100644 --- a/v1.1/man/bundle-exec.1.html +++ b/v1.1/man/bundle-exec.1.html @@ -193,7 +193,7 @@ that you aren't using (<code>gem uninstall gem_name</code>).</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-exec(1)</li> </ol> diff --git a/v1.1/man/bundle-install.1.html b/v1.1/man/bundle-install.1.html index 199a9ae892..2ee755674c 100644 --- a/v1.1/man/bundle-install.1.html +++ b/v1.1/man/bundle-install.1.html @@ -396,7 +396,7 @@ does not work, run <a href="bundle-update.1.html">bundle update(1)</a>.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-install(1)</li> </ol> diff --git a/v1.1/man/bundle-package.1.html b/v1.1/man/bundle-package.1.html index c9642964c0..b456fd6053 100644 --- a/v1.1/man/bundle-package.1.html +++ b/v1.1/man/bundle-package.1.html @@ -132,7 +132,7 @@ deploying to production.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-package(1)</li> </ol> diff --git a/v1.1/man/bundle-update.1.html b/v1.1/man/bundle-update.1.html index 1bf0401bb8..c87ec74fdb 100644 --- a/v1.1/man/bundle-update.1.html +++ b/v1.1/man/bundle-update.1.html @@ -253,7 +253,7 @@ still match the gems listed in the <a class="man-ref" href="gemfile.5.html">Gemf <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-update(1)</li> </ol> diff --git a/v1.1/man/bundle.1.html b/v1.1/man/bundle.1.html index cebdb545b4..c90e60463f 100644 --- a/v1.1/man/bundle.1.html +++ b/v1.1/man/bundle.1.html @@ -140,7 +140,7 @@ and available to bundler</p></dd> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle(1)</li> </ol> diff --git a/v1.1/man/gemfile.5.html b/v1.1/man/gemfile.5.html index 14f2cf7bbc..0fae19fcca 100644 --- a/v1.1/man/gemfile.5.html +++ b/v1.1/man/gemfile.5.html @@ -368,7 +368,7 @@ bundler uses the following priority order:</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>Gemfile(5)</li> </ol> diff --git a/v1.2/man/bundle-config.1.html b/v1.2/man/bundle-config.1.html index afac93749e..8cb39492fc 100644 --- a/v1.2/man/bundle-config.1.html +++ b/v1.2/man/bundle-config.1.html @@ -206,7 +206,7 @@ forces you to fetch the latest changes in the remotes.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-config(1)</li> </ol> diff --git a/v1.2/man/bundle-exec.1.html b/v1.2/man/bundle-exec.1.html index 5ce1ed8f10..8e2d09e8b1 100644 --- a/v1.2/man/bundle-exec.1.html +++ b/v1.2/man/bundle-exec.1.html @@ -193,7 +193,7 @@ that you aren't using (<code>gem uninstall gem_name</code>).</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-exec(1)</li> </ol> diff --git a/v1.2/man/bundle-install.1.html b/v1.2/man/bundle-install.1.html index 88b6e696ce..dc5e986de7 100644 --- a/v1.2/man/bundle-install.1.html +++ b/v1.2/man/bundle-install.1.html @@ -400,7 +400,7 @@ does not work, run <a href="bundle-update.1.html">bundle update(1)</a>.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-install(1)</li> </ol> diff --git a/v1.2/man/bundle-package.1.html b/v1.2/man/bundle-package.1.html index daf0fae6af..7a122559f1 100644 --- a/v1.2/man/bundle-package.1.html +++ b/v1.2/man/bundle-package.1.html @@ -132,7 +132,7 @@ deploying to production.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-package(1)</li> </ol> diff --git a/v1.2/man/bundle-platform.1.html b/v1.2/man/bundle-platform.1.html index 46886dc6c4..bf7819e32d 100644 --- a/v1.2/man/bundle-platform.1.html +++ b/v1.2/man/bundle-platform.1.html @@ -117,7 +117,7 @@ parse it from the <a class="man-ref" href="gemfile.5.html">Gemfile<span class="s <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-platform(1)</li> </ol> diff --git a/v1.2/man/bundle-update.1.html b/v1.2/man/bundle-update.1.html index 5eac911035..3e5ccb7fb2 100644 --- a/v1.2/man/bundle-update.1.html +++ b/v1.2/man/bundle-update.1.html @@ -253,7 +253,7 @@ still match the gems listed in the <a class="man-ref" href="gemfile.5.html">Gemf <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-update(1)</li> </ol> diff --git a/v1.2/man/bundle.1.html b/v1.2/man/bundle.1.html index 091f8b2b29..bc22b04a80 100644 --- a/v1.2/man/bundle.1.html +++ b/v1.2/man/bundle.1.html @@ -141,7 +141,7 @@ and available to bundler</p></dd> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle(1)</li> </ol> diff --git a/v1.2/man/gemfile.5.html b/v1.2/man/gemfile.5.html index e229be72bc..0ac4538fe0 100644 --- a/v1.2/man/gemfile.5.html +++ b/v1.2/man/gemfile.5.html @@ -413,7 +413,7 @@ bundler uses the following priority order:</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>Gemfile(5)</li> </ol> diff --git a/v1.3/man/bundle-config.1.html b/v1.3/man/bundle-config.1.html index ec536ed898..f23729241c 100644 --- a/v1.3/man/bundle-config.1.html +++ b/v1.3/man/bundle-config.1.html @@ -210,7 +210,7 @@ forces you to fetch the latest changes in the remotes.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-config(1)</li> </ol> diff --git a/v1.3/man/bundle-exec.1.html b/v1.3/man/bundle-exec.1.html index 52708459c0..fee454b84b 100644 --- a/v1.3/man/bundle-exec.1.html +++ b/v1.3/man/bundle-exec.1.html @@ -212,7 +212,7 @@ that you aren't using (<code>gem uninstall gem_name</code>).</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-exec(1)</li> </ol> diff --git a/v1.3/man/bundle-install.1.html b/v1.3/man/bundle-install.1.html index 902f2991cd..533b8768e5 100644 --- a/v1.3/man/bundle-install.1.html +++ b/v1.3/man/bundle-install.1.html @@ -415,7 +415,7 @@ does not work, run <a href="bundle-update.1.html">bundle update(1)</a>.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-install(1)</li> </ol> diff --git a/v1.3/man/bundle-package.1.html b/v1.3/man/bundle-package.1.html index b83b2fe245..b3cbb22aa7 100644 --- a/v1.3/man/bundle-package.1.html +++ b/v1.3/man/bundle-package.1.html @@ -132,7 +132,7 @@ deploying to production.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-package(1)</li> </ol> diff --git a/v1.3/man/bundle-platform.1.html b/v1.3/man/bundle-platform.1.html index e1efcbb4b0..bf0b53ac07 100644 --- a/v1.3/man/bundle-platform.1.html +++ b/v1.3/man/bundle-platform.1.html @@ -117,7 +117,7 @@ parse it from the <a class="man-ref" href="gemfile.5.html">Gemfile<span class="s <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-platform(1)</li> </ol> diff --git a/v1.3/man/bundle-update.1.html b/v1.3/man/bundle-update.1.html index 81c1a2e976..f031442188 100644 --- a/v1.3/man/bundle-update.1.html +++ b/v1.3/man/bundle-update.1.html @@ -253,7 +253,7 @@ still match the gems listed in the <a class="man-ref" href="gemfile.5.html">Gemf <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-update(1)</li> </ol> diff --git a/v1.3/man/bundle.1.html b/v1.3/man/bundle.1.html index 696ae43966..f9c7eeeded 100644 --- a/v1.3/man/bundle.1.html +++ b/v1.3/man/bundle.1.html @@ -143,7 +143,7 @@ and available to bundler</p></dd> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle(1)</li> </ol> diff --git a/v1.3/man/gemfile.5.html b/v1.3/man/gemfile.5.html index 877ff7516f..27ed93236d 100644 --- a/v1.3/man/gemfile.5.html +++ b/v1.3/man/gemfile.5.html @@ -416,7 +416,7 @@ bundler uses the following priority order:</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>Gemfile(5)</li> </ol> diff --git a/v1.5/man/bundle-config.1.html b/v1.5/man/bundle-config.1.html index 76fea6307d..281b88b52b 100644 --- a/v1.5/man/bundle-config.1.html +++ b/v1.5/man/bundle-config.1.html @@ -224,7 +224,7 @@ mirror to fetch gems.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-config(1)</li> </ol> diff --git a/v1.5/man/bundle-exec.1.html b/v1.5/man/bundle-exec.1.html index e373b2c3f0..8beae5b835 100644 --- a/v1.5/man/bundle-exec.1.html +++ b/v1.5/man/bundle-exec.1.html @@ -222,7 +222,7 @@ that you aren't using (<code>gem uninstall gem_name</code>).</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-exec(1)</li> </ol> diff --git a/v1.5/man/bundle-install.1.html b/v1.5/man/bundle-install.1.html index 8249352adc..9d489b0684 100644 --- a/v1.5/man/bundle-install.1.html +++ b/v1.5/man/bundle-install.1.html @@ -419,7 +419,7 @@ does not work, run <a href="bundle-update.1.html">bundle update(1)</a>.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-install(1)</li> </ol> diff --git a/v1.5/man/bundle-package.1.html b/v1.5/man/bundle-package.1.html index b83b2fe245..b3cbb22aa7 100644 --- a/v1.5/man/bundle-package.1.html +++ b/v1.5/man/bundle-package.1.html @@ -132,7 +132,7 @@ deploying to production.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-package(1)</li> </ol> diff --git a/v1.5/man/bundle-platform.1.html b/v1.5/man/bundle-platform.1.html index e1efcbb4b0..bf0b53ac07 100644 --- a/v1.5/man/bundle-platform.1.html +++ b/v1.5/man/bundle-platform.1.html @@ -117,7 +117,7 @@ parse it from the <a class="man-ref" href="gemfile.5.html">Gemfile<span class="s <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-platform(1)</li> </ol> diff --git a/v1.5/man/bundle-update.1.html b/v1.5/man/bundle-update.1.html index 81c1a2e976..f031442188 100644 --- a/v1.5/man/bundle-update.1.html +++ b/v1.5/man/bundle-update.1.html @@ -253,7 +253,7 @@ still match the gems listed in the <a class="man-ref" href="gemfile.5.html">Gemf <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-update(1)</li> </ol> diff --git a/v1.5/man/bundle.1.html b/v1.5/man/bundle.1.html index a0eb87de62..e1a0577d50 100644 --- a/v1.5/man/bundle.1.html +++ b/v1.5/man/bundle.1.html @@ -143,7 +143,7 @@ and available to bundler</p></dd> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle(1)</li> </ol> diff --git a/v1.5/man/gemfile.5.html b/v1.5/man/gemfile.5.html index ab7ba824e7..e6a1701f43 100644 --- a/v1.5/man/gemfile.5.html +++ b/v1.5/man/gemfile.5.html @@ -437,7 +437,7 @@ bundler uses the following priority order:</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>Gemfile(5)</li> </ol> diff --git a/v1.6/bundle_binstubs.html b/v1.6/bundle_binstubs.html new file mode 100644 index 0000000000..5a62372fda --- /dev/null +++ b/v1.6/bundle_binstubs.html @@ -0,0 +1,141 @@ +<!DOCTYPE html> +<html> + <head> + <title>Bundler: The best way to manage a Ruby application's gems</title> + <meta content='text/html; charset=UTF-8' http-equiv='Content-Type'> + <meta content='276VSYOko8B8vIu1i8i5qbj7_ql5PXo0dU69XQy-SL' name='globalsign-domain-verification'> + <link href='/images/favicon.png' rel='shortcut icon' type='image/png'> + <link href="/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" /> + </head> + <body> + <div id='body'> + <div id='header'> + <a class="image" href="/"><img width="725" alt="The best way to manage your application's dependencies" src="/images/gembundler.png" /></a> + </div> + <div id='container'> + <div id='contents'> + <h2>bundle binstubs</h2> + <div class='contents'> + <div class='bullet'> + <div class='description'> + Installs the binstubs of the listed gem + </div> + <pre class="highlight plaintext">$ bundle binstubs [GEM] [--force] [--path=PATH]</pre> + <div class='notes'> + <p> + Options: + </p> + <p> + <code>--force</code>: Overwrite existing binstubs if they exist. + </p> + <p> + <code>--path</code>: Binstub destination directory (default bin) + </p> + </div> + <div class='description'> + Generate binstubs for executables in [GEM]. Binstubs are put into bin, + or the --binstubs directory if one has been set. + </div> + </div> + </div> + </div> + <div id='sidebar'> + <h2>Would you like to</h2> + <ul> + <li><a href="/#getting-started">Get started</a></li> + <li><a href="/issues.html">Report a bug</a></li> + <li><a href="/v1.6/whats_new.html">See what's new</a></li> + <li><a href="/v1.6/man/bundle.1.html">Read documentation</a></li> + <li><a href="/#get-involved">Discuss and Contribute</a></li> + <li><a href="/v1.6/faq.html">View FAQs</a></li> + </ul> + <div class='shirts'> + <div class='content'> + <p> + Bundler is developed entirely by a team of volunteers. + <a href="http://www.gittip.com/bundler">Support their work</a> + and help make Bundler better for everyone. + </p> + <p> + <script data-gittip-username='bundler' src='//gttp.co/v1.js'></script> + <br> + <br> + </p> + </div> + </div> + <h2>Bundler Commands</h2> + <ul> + <li><a href="/v1.6/bundle_install.html">bundle install</a></li> + <li><a href="/v1.6/bundle_update.html">bundle update</a></li> + <div class='buttons'> + <a href="/v1.6/commands.html">View all commands</a> + </div> + </ul> + <h2>Help With</h2> + <ul> + <li><a href="/v1.6/gemfile.html">Gemfiles</a></li> + <li><a href="/v1.6/groups.html">Groups</a></li> + <li><a href="/v1.6/git.html">Gems from git</a></li> + <li><a href="/v1.6/bundler_setup.html">Bundler.setup</a></li> + <li><a href="/v1.6/deploying.html">Deploying</a></li> + <li><a href="/v1.6/bundler_sharing.html">Sharing</a></li> + <li><a href="/v1.6/updating_gems.html">Updating Gems</a></li> + <li><a href="/compatibility.html">Compatible versions</a></li> + </ul> + <h2>Use Bundler with</h2> + <ul> + <li><a href="/v1.6/rails3.html">Rails 3</a></li> + <li><a href="/v1.6/rails23.html">Rails 2.3</a></li> + <li><a href="/v1.6/sinatra.html">Sinatra</a></li> + <li><a href="/v1.6/rubygems.html">Rubygems</a></li> + <li><a href="/v1.6/rubymotion.html">RubyMotion</a></li> + </ul> + <div class='shirts'> + <div class='content'> + <a class="image" onclick="ga('send', 'devswag');" href="http://www.devswag.com/collections/bundler"><img src="/images/bundler-shirt.png" /> + </a> + + <p> + <a onclick="ga('send', 'devswag');" href="http://www.devswag.com/collections/bundler">Buy Bundler Shirts & Stickers!</a> + </p> + </div> + </div> + </div> + </div> + </div> + <div id='footer'> + <img src="/images/emocow.png" /> + <img src="/images/panda.jpg" /> + <div class='spacer'></div> + <div id='credits'> + <p> + Many thanks to Bundler's <a href="/contributors.html">contributors</a> + and <a href="/sponsors.html">sponsors</a> + </p> + </div> + <div class='spacer'></div> + <img src="/images/bundler-small.png" /> + </div> + <a href='http://github.com/bundler/bundler/' id='github'> + <img alt='Fork me on GitHub' src='http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png'> + </a> + <div id='prod-versions'> + Docs: + <a href="/v0.9/">v0.9</a> + <a href="/v1.0/">v1.0</a> + <a href="/v1.1/">v1.1</a> + <a href="/v1.2/">v1.2</a> + <a href="/v1.3/">v1.3</a> + <a href="/v1.5/index.html">v1.5</a> + <a class="current" href="/">v1.6</a> + </div> + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-39559982-1', 'bundler.io'); + ga('send', 'pageview'); + </script> + </body> +</html> diff --git a/v1.6/bundle_check.html b/v1.6/bundle_check.html index 6f12f81af9..4bb0143b5e 100644 --- a/v1.6/bundle_check.html +++ b/v1.6/bundle_check.html @@ -20,16 +20,21 @@ <div class='description'> Checks if the dependencies listed in Gemfile are satisfied by currently installed gems </div> - <pre class="highlight plaintext">$ bundle check [--gemfile=FILE] [--path=PATH]</pre> + <pre class="highlight plaintext">$ bundle check [--dry-run] [--gemfile=FILE] [--path=PATH]</pre> <div class='notes'> <p> Options: </p> <p> + <code>--dry-run</code>: Locks the Gemfile. + </p> + <p> <code>--gemfile</code>: Use the specified gemfile instead of Gemfile. </p> <p> - <code>--path</code>: Specify a different path than the system default ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future installs on this machine. + <code>--path</code>: Specify a different path than the system default + ($BUNDLE_PATH or $GEM_HOME). Bundler will remember this value for future + installs on this machine. </p> </div> <div class='description'> diff --git a/v1.6/bundle_clean.html b/v1.6/bundle_clean.html index 6b8b7f0459..269f3751e9 100644 --- a/v1.6/bundle_clean.html +++ b/v1.6/bundle_clean.html @@ -20,13 +20,17 @@ <div class='description'> Cleans up unused gems in your bundler directory </div> - <pre class="highlight plaintext">$ bundle clean [--force]</pre> + <pre class="highlight plaintext">$ bundle clean [--dry-run] [--force]</pre> <div class='notes'> <p> Options: </p> <p> - <code>--force</code>: forces clean even if --path is set + <code>--dry-run</code>: Only print out changes, do not actually clean + gems + </p> + <p> + <code>--force</code>: Forces clean even if --path is set </p> </div> </div> diff --git a/v1.6/bundle_config.html b/v1.6/bundle_config.html index 62adccf2c5..b5b34c9b56 100644 --- a/v1.6/bundle_config.html +++ b/v1.6/bundle_config.html @@ -100,7 +100,7 @@ to <code>VALUE</code>. </div> <div class='how'> - <pre class="highlight plaintext">$ bundle config --global NAME VALUE </pre> + <pre class="highlight plaintext">$ bundle config --global NAME VALUE</pre> <div class='notes'> Works the same as the command above. </div> @@ -112,7 +112,7 @@ <code>VALUE</code>. </div> <div class='how'> - <pre class="highlight plaintext">$ bundle config --local NAME VALUE </pre> + <pre class="highlight plaintext">$ bundle config --local NAME VALUE</pre> <div class='notes'> Works the same as the two command above but for the local application. The configuration will be stored in <code>app/.bundle/config</code>. @@ -200,6 +200,14 @@ </p> <ul> <li> + <code>auto_install</code> (<code>1</code>): Setting auto_install config + to 1 or any other truthy value will enable automatic installing of gems + instead of raising an error. This behavior applies to the following + commands: <code>show</code>, <code>binstubs</code>, + <code>outdated</code>, <code>exec</code>, <code>open</code>, + <code>console</code>, <code>license</code>, <code>clean</code>. + </li> + <li> <code>path</code> (<code>BUNDLE_PATH</code>): The location on disk to install gems. Defaults to <code>$GEM_HOME</code> in development and <code>vendor/bundle</code> when <code>--deployment</code> is used. diff --git a/v1.6/bundle_exec.html b/v1.6/bundle_exec.html index 033780e4df..fced32e5b8 100644 --- a/v1.6/bundle_exec.html +++ b/v1.6/bundle_exec.html @@ -20,7 +20,16 @@ <div class='description'> Run the command in context of the bundle </div> - <pre class="highlight plaintext">$ bundle exec</pre> + <pre class="highlight plaintext">$ bundle exec [--keep-file-descriptors]</pre> + <div class='notes'> + <p> + Options: + </p> + <p> + <code>--keep-file-descriptors</code>: For Ruby versions less than 2.0, + keeps non-standard file descriptors on Kernel#exec + </p> + </div> <div class='description'> Exec runs a command, providing it access to the gems in the bundle. While using bundle exec you can require and call the bundled gems as if they were installed diff --git a/v1.6/bundle_gem.html b/v1.6/bundle_gem.html index 0e805aedf0..f37eceb44a 100644 --- a/v1.6/bundle_gem.html +++ b/v1.6/bundle_gem.html @@ -20,7 +20,7 @@ <div class='description'> Creates a skeleton for creating a rubygem </div> - <pre class="highlight plaintext">$ bundle gem GEM [--bin or -b]</pre> + <pre class="highlight plaintext">$ bundle gem GEM [--bin or -b] [--test=TESTFRAMEWORK] [--edit=TEXTEDITOR] [--ext]</pre> <div class='notes'> <p> Options: @@ -29,8 +29,16 @@ <code>--bin or -b</code>: Generate a binary for your library. </p> <p> + <code>--edit</code>: Opens generated gemspec with specified or default + text editor set BUNDLER_EDITOR, EDITOR or VISUAL env variables. + </p> + <p> <code>--ext</code>: Generate a skeleton for a C-extension. </p> + <p> + <code>--test</code>: Generate a test directory for your library: + 'rspec' is the default, but 'minitest' is also supported. + </p> </div> </div> </div> diff --git a/v1.6/bundle_inject.html b/v1.6/bundle_inject.html new file mode 100644 index 0000000000..6c2f514b5d --- /dev/null +++ b/v1.6/bundle_inject.html @@ -0,0 +1,133 @@ +<!DOCTYPE html> +<html> + <head> + <title>Bundler: The best way to manage a Ruby application's gems</title> + <meta content='text/html; charset=UTF-8' http-equiv='Content-Type'> + <meta content='276VSYOko8B8vIu1i8i5qbj7_ql5PXo0dU69XQy-SL' name='globalsign-domain-verification'> + <link href='/images/favicon.png' rel='shortcut icon' type='image/png'> + <link href="/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" /> + </head> + <body> + <div id='body'> + <div id='header'> + <a class="image" href="/"><img width="725" alt="The best way to manage your application's dependencies" src="/images/gembundler.png" /></a> + </div> + <div id='container'> + <div id='contents'> + <h2>bundle inject</h2> + <div class='contents'> + <div class='bullet'> + <div class='description'> + Add the named gem(s), with version requirements, to the resolved Gemfile + </div> + <pre class="highlight plaintext">$ bundle inject [GEM] [VERSION]
</pre> + </div> + <div class='bullet'> + <div class='description'> + When injecting a gem, it adds it to both your Gemfile and Gemfile.lock if + it doesn't yet exist in them. Example below: + </div> + <pre class="highlight plaintext">$ bundle install

$ bundle inject 'rack' '> 0'
# Injects rack gem greater than version 0 in your Gemfile and Gemfile.lock</pre> + </div> + </div> + </div> + <div id='sidebar'> + <h2>Would you like to</h2> + <ul> + <li><a href="/#getting-started">Get started</a></li> + <li><a href="/issues.html">Report a bug</a></li> + <li><a href="/v1.6/whats_new.html">See what's new</a></li> + <li><a href="/v1.6/man/bundle.1.html">Read documentation</a></li> + <li><a href="/#get-involved">Discuss and Contribute</a></li> + <li><a href="/v1.6/faq.html">View FAQs</a></li> + </ul> + <div class='shirts'> + <div class='content'> + <p> + Bundler is developed entirely by a team of volunteers. + <a href="http://www.gittip.com/bundler">Support their work</a> + and help make Bundler better for everyone. + </p> + <p> + <script data-gittip-username='bundler' src='//gttp.co/v1.js'></script> + <br> + <br> + </p> + </div> + </div> + <h2>Bundler Commands</h2> + <ul> + <li><a href="/v1.6/bundle_install.html">bundle install</a></li> + <li><a href="/v1.6/bundle_update.html">bundle update</a></li> + <div class='buttons'> + <a href="/v1.6/commands.html">View all commands</a> + </div> + </ul> + <h2>Help With</h2> + <ul> + <li><a href="/v1.6/gemfile.html">Gemfiles</a></li> + <li><a href="/v1.6/groups.html">Groups</a></li> + <li><a href="/v1.6/git.html">Gems from git</a></li> + <li><a href="/v1.6/bundler_setup.html">Bundler.setup</a></li> + <li><a href="/v1.6/deploying.html">Deploying</a></li> + <li><a href="/v1.6/bundler_sharing.html">Sharing</a></li> + <li><a href="/v1.6/updating_gems.html">Updating Gems</a></li> + <li><a href="/compatibility.html">Compatible versions</a></li> + </ul> + <h2>Use Bundler with</h2> + <ul> + <li><a href="/v1.6/rails3.html">Rails 3</a></li> + <li><a href="/v1.6/rails23.html">Rails 2.3</a></li> + <li><a href="/v1.6/sinatra.html">Sinatra</a></li> + <li><a href="/v1.6/rubygems.html">Rubygems</a></li> + <li><a href="/v1.6/rubymotion.html">RubyMotion</a></li> + </ul> + <div class='shirts'> + <div class='content'> + <a class="image" onclick="ga('send', 'devswag');" href="http://www.devswag.com/collections/bundler"><img src="/images/bundler-shirt.png" /> + </a> + + <p> + <a onclick="ga('send', 'devswag');" href="http://www.devswag.com/collections/bundler">Buy Bundler Shirts & Stickers!</a> + </p> + </div> + </div> + </div> + </div> + </div> + <div id='footer'> + <img src="/images/emocow.png" /> + <img src="/images/panda.jpg" /> + <div class='spacer'></div> + <div id='credits'> + <p> + Many thanks to Bundler's <a href="/contributors.html">contributors</a> + and <a href="/sponsors.html">sponsors</a> + </p> + </div> + <div class='spacer'></div> + <img src="/images/bundler-small.png" /> + </div> + <a href='http://github.com/bundler/bundler/' id='github'> + <img alt='Fork me on GitHub' src='http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png'> + </a> + <div id='prod-versions'> + Docs: + <a href="/v0.9/">v0.9</a> + <a href="/v1.0/">v1.0</a> + <a href="/v1.1/">v1.1</a> + <a href="/v1.2/">v1.2</a> + <a href="/v1.3/">v1.3</a> + <a href="/v1.5/index.html">v1.5</a> + <a class="current" href="/">v1.6</a> + </div> + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-39559982-1', 'bundler.io'); + ga('send', 'pageview'); + </script> + </body> +</html> diff --git a/v1.6/bundle_install.html b/v1.6/bundle_install.html index 98d2e0e935..14ecde1e4c 100644 --- a/v1.6/bundle_install.html +++ b/v1.6/bundle_install.html @@ -20,7 +20,7 @@ <div class='description'> Make sure all dependencies in your Gemfile are available to your application. </div> - <pre class="highlight plaintext">$ bundle install [--binstubs=PATH] [--clean] [--deployment] [--frozen]
 [--full-index] [--gemfile=FILE] [--local] [--no-cache]
 [--no-prune] [--path=PATH] [--quiet] [--shebang=STRING]
 [--standalone=ARRAY] [--system] [--without=GROUP GROUP]</pre> + <pre class="highlight plaintext">$ bundle install [--binstubs=PATH] [--clean] [--deployment] [--frozen]
 [--full-index] [--gemfile=FILE] [--local] [--no-cache]
 [--no-prune] [--path=PATH] [--quiet] [--shebang=STRING]
 [--standalone=ARRAY] [--system] [--without=GROUP GROUP]
 [--trust-policy=SECURITYLEVEL]</pre> <div class='notes'> <p> Options: @@ -44,6 +44,9 @@ <code>--gemfile</code>: Use the specified gemfile instead of Gemfile </p> <p> + <code>--jobs</code>: Install gems using parallel workers. + </p> + <p> <code>--local</code>: Do not attempt to fetch gems remotely and use the gem cache instead </p> <p> @@ -59,6 +62,9 @@ <code>--quiet</code>: Only output warnings and errors. </p> <p> + <code>--retry</code>: Retry network and git requests that have failed. + </p> + <p> <code>--shebang</code>: Specify a different shebang executable name than the default (usually 'ruby') </p> <p> @@ -68,13 +74,10 @@ <code>--system</code>: Install to the system location ($BUNDLE_PATH or $GEM_HOME) even if the bundle was previously installed somewhere else for this application </p> <p> - <code>--without</code>: Exclude gems that are part of the specified named group. - </p> - <p> - <code>--jobs</code>: Install gems using parallel workers. + <code>--trust-policy</code>: Sets level of security when dealing with signed gems. Accepts `LowSecurity`, `MediumSecurity` and `HighSecurity` as values. </p> <p> - <code>--retry</code>: Retry network and git requests that have failed. + <code>--without</code>: Exclude gems that are part of the specified named group. </p> </div> <div class='notes'> diff --git a/v1.6/bundle_package.html b/v1.6/bundle_package.html index 8b6dc687bf..29a87a0588 100644 --- a/v1.6/bundle_package.html +++ b/v1.6/bundle_package.html @@ -20,16 +20,28 @@ <div class='description'> Locks and then caches the gems into <code>./vendor/cache</code>. </div> - <pre class="highlight plaintext">$ bundle package [--no-prune] [--all]</pre> + <pre class="highlight plaintext">$ bundle package [--all] [--gemfile=GEMFILE] [--no-install] [--no-prune] [--path=PATH] [--quiet]</pre> <div class='notes'> <p> Options: </p> <p> + <code>--all</code>: package <code>:git</code>, <code>:path</code>, and <code>.gem</code> dependencies. Once used, the <code>--all</code> option will be remembered. + </p> + <p> + <code>--gemfile</code>: Use the specified gemfile instead of Gemfile. + </p> + <p> + <code>--no-install</code>: Don't actually install the gems, just package. + </p> + <p> <code>--no-prune</code>: Don't remove stale gems from the cache. </p> <p> - <code>--all</code>: package <code>:git</code>, <code>:path</code>, and <code>.gem</code> dependencies. Once used, the <code>--all</code> option will be remembered. + <code>--path</code>: Specify a different path than the system default. + </p> + <p> + <code>--quiet</code>: Only output warnings and errors. </p> </div> <div class='description'> diff --git a/v1.6/bundle_update.html b/v1.6/bundle_update.html index b8ffd3b370..7fb5d3aa67 100644 --- a/v1.6/bundle_update.html +++ b/v1.6/bundle_update.html @@ -20,16 +20,29 @@ <div class='description'> Update the current environment </div> - <pre class="highlight plaintext">$ bundle update [GEM] [--local] [--source=SOURCE]</pre> + <pre class="highlight plaintext">$ bundle update [GEM] [--full-index] [--group=GROUP] [--jobs=NUMBER] [--local] [--quiet] [--source=SOURCE]</pre> <div class='notes'> <p> Options: </p> <p> + <code>--full-index</code>: Use the rubygems modern index instead of + the API endpoint + </p> + <p> + <code>--group</code>: Update one or more gem groups + </p> + <p> + <code>--jobs</code>: Specify the number of jobs to run in parallel + </p> + <p> <code>--local</code>: Do not attempt to fetch gems remotely and use the gem cache instead </p> <p> + <code>--quiet</code>: Only output warnings and errors. + </p> + <p> <code>--source</code>: Update a specific source (and all gems associated with it) </p> diff --git a/v1.6/commands.html b/v1.6/commands.html index a0bc1c28da..792b27144a 100644 --- a/v1.6/commands.html +++ b/v1.6/commands.html @@ -28,6 +28,25 @@ <tr> <td> <div class='cli_name'> + <a href="/v1.6/bundle_binstubs.html">bundle binstubs</a> + </div> + <div class='cli_desc'> + Installs the binstubs of the listed gem + </div> + </td> + <td> + <div class='cli_option'> + <a href="/v1.6/bundle_binstubs.html#force">--force</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_binstubs.html#path">--path</a> + </div> + <div class='clear'></div> + </td> + </tr> + <tr> + <td> + <div class='cli_name'> <a href="/v1.6/bundle_check.html">bundle check</a> </div> <div class='cli_desc'> @@ -36,6 +55,9 @@ </td> <td> <div class='cli_option'> + <a href="/v1.6/bundle_check.html#dry-run">--dry-run</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_check.html#gemfile">--gemfile</a> </div> <div class='cli_option'> @@ -55,6 +77,9 @@ </td> <td> <div class='cli_option'> + <a href="/v1.6/bundle_clean.html#dry-run">--dry-run</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_clean.html#force">--force</a> </div> <div class='clear'></div> @@ -96,6 +121,9 @@ </div> </td> <td> + <div class='cli_option'> + <a href="/v1.6/bundle_exec.html#keep-file-descriptors">--keep-file-descriptors</a> + </div> <div class='clear'></div> </td> </tr> @@ -112,6 +140,15 @@ <div class='cli_option'> <a href="/v1.6/bundle_gem.html#bin">--bin or -b</a> </div> + <div class='cli_option'> + <a href="/v1.6/bundle_gem.html#edit">--edit</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_gem.html#ext">--ext</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_gem.html#test">--test</a> + </div> <div class='clear'></div> </td> </tr> @@ -147,6 +184,19 @@ <tr> <td> <div class='cli_name'> + <a href="/v1.6/bundle_inject.html">bundle inject</a> + </div> + <div class='cli_desc'> + Add the named gem(s), with version requirements, to the resolved Gemfile + </div> + </td> + <td> + <div class='clear'></div> + </td> + </tr> + <tr> + <td> + <div class='cli_name'> <a href="/v1.6/bundle_install.html">bundle install</a> </div> <div class='cli_desc'> @@ -173,6 +223,9 @@ <a href="/v1.6/bundle_install.html#gemfile">--gemfile</a> </div> <div class='cli_option'> + <a href="/v1.6/bundle_install.html#jobs">--jobs</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_install.html#local">--local</a> </div> <div class='cli_option'> @@ -188,6 +241,9 @@ <a href="/v1.6/bundle_install.html#quiet">--quiet</a> </div> <div class='cli_option'> + <a href="/v1.6/bundle_install.html#retry">--retry</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_install.html#shebang">--shebang</a> </div> <div class='cli_option'> @@ -197,6 +253,9 @@ <a href="/v1.6/bundle_install.html#system">--system</a> </div> <div class='cli_option'> + <a href="/v1.6/bundle_install.html#trust-policy">--trust-policy</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_install.html#without">--without</a> </div> <div class='clear'></div> @@ -248,10 +307,22 @@ </td> <td> <div class='cli_option'> + <a href="/v1.6/bundle_package.html#all">--all</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_package.html#gemfile">--gemfile</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_package.html#no-install">--no-install</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_package.html#no-prune">--no-prune</a> </div> <div class='cli_option'> - <a href="/v1.6/bundle_package.html#all">--all</a> + <a href="/v1.6/bundle_package.html#path">--path</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_package.html#quiet">--quiet</a> </div> <div class='clear'></div> </td> @@ -299,9 +370,21 @@ </td> <td> <div class='cli_option'> + <a href="/v1.6/bundle_update.html#full-index">--full-index</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_update.html#group">--group</a> + </div> + <div class='cli_option'> + <a href="/v1.6/bundle_update.html#jobs">--jobs</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_update.html#local">--local</a> </div> <div class='cli_option'> + <a href="/v1.6/bundle_update.html#quiet">--quiet</a> + </div> + <div class='cli_option'> <a href="/v1.6/bundle_update.html#source">--source</a> </div> <div class='clear'></div> diff --git a/v1.6/gemfile.html b/v1.6/gemfile.html index 1d3b534244..281e93ede5 100644 --- a/v1.6/gemfile.html +++ b/v1.6/gemfile.html @@ -79,7 +79,7 @@ </div> <div class='bullet'> <div class='description'> - If you would like to use a unpacked gem directly from the filesystem, simply set the <code>:path</code> option to the path containing the the gem's files. + If you would like to use a unpacked gem directly from the filesystem, simply set the <code>:path</code> option to the path containing the gem's files. </div> <pre class="highlight ruby"><span class="n">gem</span> <span class="s1">'extracted_library'</span><span class="p">,</span> <span class="ss">:path</span> <span class="o">=></span> <span class="s1">'./vendor/extracted_library'</span>
</pre> </div> diff --git a/v1.6/git.html b/v1.6/git.html index 80ed9dc37f..8c8cba41e2 100644 --- a/v1.6/git.html +++ b/v1.6/git.html @@ -86,24 +86,40 @@ </div> <pre class="highlight ruby"><span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="ss">:github</span> <span class="o">=></span> <span class="s1">'rails'</span></pre> <div class='description'> - <b>NB:</b> This shorthand is insecure in versions of Bundler prior to 2.0! Use HTTPS instead + <b>NB:</b> This shorthand can only be used for public repos in Bundler version 1.x. Use HTTPS for read and write: </div> <pre class="highlight ruby"><span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="ss">:git</span> <span class="o">=></span> <span class="s1">'https://github.com/rails/rails'</span></pre> <div class='description'> - Alternatively, you can specify a full commit hash + All of the usual <code>:git</code> options apply, like <code>:branch</code> and <code>:ref</code>. </div> <pre class="highlight ruby"><span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="ss">:github</span> <span class="o">=></span> <span class="s1">'rails'</span><span class="p">,</span> <span class="ss">:ref</span> <span class="o">=></span> <span class="s1">'a9752dcfd15bcddfe7b6f7126f3a6e0ba5927c56'</span>
</pre> </div> </div> + <h2>Custom git sources</h2> + <div class='contents'> + <div class='bullet'> + <div class='description'> + The <code>:github</code> shortcut used above is one of Bundler's built in git sources. Bundler comes + with shortcuts for <code>:github</code>, <code>:gist</code>, and <code>:bitbucket</code>, but you can + also add your own. + </div> + <div class='description'> + If you're using Github Enterprise, Stash, or just have a custom git setup, create your own shortcuts + by calling <code>git_source</code> before you use your custom option. Here's an example for Stash: + </div> + <pre class="highlight ruby"><span class="n">git_source</span><span class="p">(</span><span class="ss">:stash</span><span class="p">){</span> <span class="o">|</span><span class="n">repo_name</span><span class="o">|</span> <span class="s2">"https://stash.corp.acme.pl/</span><span class="si">#{</span><span class="n">repo_name</span><span class="si">}</span><span class="s2">.git"</span> <span class="p">}</span>
<span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="ss">:stash</span> <span class="o">=></span> <span class="s1">'forks/rails'</span>
</pre> + </div> + </div> <h2>Security</h2> <div class='contents'> <div class='bullet'> <div class='description'> - <code>http://</code> and <code>git://</code> URLs are insecure, and should - be avoided if at all possible. These protocols are unauthenticated, so a - man-in-the-middle attacker can tamper with the code and compromise your system. - Note that the <code>:github</code> shortcut translates to a <code>git://</code> - URL in pre-2.0 versions. + <code>http://</code> and <code>git://</code> URLs are insecure. A + man-in-the-middle attacker could tamper with the code as you check it out, + and potentially supply you with malicious code instead of the code you meant to + check out. Because the <code>:github</code> shortcut uses a <code>git://</code> + URL in Bundler 1.x versions, we recommend using using HTTPS URLs or overriding + the <code>:github</code> shortcut with your own HTTPS git source. </div> </div> </div> diff --git a/v1.6/man/bundle-config.1.html b/v1.6/man/bundle-config.1.html index f7b50fa8d9..da37a0c2c1 100644 --- a/v1.6/man/bundle-config.1.html +++ b/v1.6/man/bundle-config.1.html @@ -233,7 +233,7 @@ mirror to fetch gems.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-config(1)</li> </ol> diff --git a/v1.6/man/bundle-exec.1.html b/v1.6/man/bundle-exec.1.html index e373b2c3f0..8beae5b835 100644 --- a/v1.6/man/bundle-exec.1.html +++ b/v1.6/man/bundle-exec.1.html @@ -222,7 +222,7 @@ that you aren't using (<code>gem uninstall gem_name</code>).</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-exec(1)</li> </ol> diff --git a/v1.6/man/bundle-install.1.html b/v1.6/man/bundle-install.1.html index 85ee1c2ca6..9f9d108134 100644 --- a/v1.6/man/bundle-install.1.html +++ b/v1.6/man/bundle-install.1.html @@ -426,7 +426,7 @@ does not work, run <a href="bundle-update.1.html">bundle update(1)</a>.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-install(1)</li> </ol> diff --git a/v1.6/man/bundle-package.1.html b/v1.6/man/bundle-package.1.html index b83b2fe245..b3cbb22aa7 100644 --- a/v1.6/man/bundle-package.1.html +++ b/v1.6/man/bundle-package.1.html @@ -132,7 +132,7 @@ deploying to production.</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-package(1)</li> </ol> diff --git a/v1.6/man/bundle-platform.1.html b/v1.6/man/bundle-platform.1.html index e1efcbb4b0..bf0b53ac07 100644 --- a/v1.6/man/bundle-platform.1.html +++ b/v1.6/man/bundle-platform.1.html @@ -117,7 +117,7 @@ parse it from the <a class="man-ref" href="gemfile.5.html">Gemfile<span class="s <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-platform(1)</li> </ol> diff --git a/v1.6/man/bundle-update.1.html b/v1.6/man/bundle-update.1.html index fcb4bcefc7..409607c469 100644 --- a/v1.6/man/bundle-update.1.html +++ b/v1.6/man/bundle-update.1.html @@ -254,7 +254,7 @@ still match the gems listed in the <a class="man-ref" href="gemfile.5.html">Gemf <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle-update(1)</li> </ol> diff --git a/v1.6/man/bundle.1.html b/v1.6/man/bundle.1.html index a0eb87de62..e1a0577d50 100644 --- a/v1.6/man/bundle.1.html +++ b/v1.6/man/bundle.1.html @@ -143,7 +143,7 @@ and available to bundler</p></dd> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>bundle(1)</li> </ol> diff --git a/v1.6/man/gemfile.5.html b/v1.6/man/gemfile.5.html index ab7ba824e7..e6a1701f43 100644 --- a/v1.6/man/gemfile.5.html +++ b/v1.6/man/gemfile.5.html @@ -437,7 +437,7 @@ bundler uses the following priority order:</p> <ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>April 2014</li> + <li class='tc'>June 2014</li> <li class='tr'>Gemfile(5)</li> </ol> diff --git a/v1.6/rationale.html b/v1.6/rationale.html index e756507877..80ad94085c 100644 --- a/v1.6/rationale.html +++ b/v1.6/rationale.html @@ -16,7 +16,7 @@ <div id='contents'> <div id='intro'> If you just want to know our recommended workflow, and don't care about the rationale, feel - free to jump to the summary below. + free to <a href="#summary">jump to the summary</a> below. </div> <br> <div id='standalone'> @@ -27,10 +27,10 @@ First, you declare these dependencies in a file at the root of your application, called <code>Gemfile</code>. It looks something like this: </p> - <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="s1">'3.0.0.rc'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span>
<span class="n">gem</span> <span class="s1">'nokogiri'</span><span class="p">,</span> <span class="s1">'~> 1.4.2'</span>
</pre> + <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="s1">'4.1.0.rc2'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span>
<span class="n">gem</span> <span class="s1">'nokogiri'</span><span class="p">,</span> <span class="s1">'~> 1.6.1'</span>
</pre> <p> This <code>Gemfile</code> says a few things. First, it says that bundler should look for gems - declared in the <code>Gemfile</code> at <code>http://rubygems.org</code>. You can declare + declared in the <code>Gemfile</code> at <code>https://rubygems.org</code>. You can declare multiple Rubygems sources, and bundler will look for gems in the order you declared the sources. </p> @@ -38,9 +38,9 @@ Next, you declare a few dependencies: </p> <ul> - <li>on version <code>3.0.0.rc</code> of <code>rails</code></li> + <li>on version <code>4.1.0.rc2</code> of <code>rails</code></li> <li>on any version of <code>rack-cache</code></li> - <li>on a version of <code>nokogiri</code> that is <code>>= 1.4.2</code> but <code>< 1.5.0</code></li> + <li>on a version of <code>nokogiri</code> that is <code>>= 1.6.1</code> but <code>< 1.7.0</code></li> </ul> <p> After declaring your first set of dependencies, you tell bundler to go get them: @@ -53,7 +53,7 @@ those have their own dependencies), running <code>bundle install</code> on the <code>Gemfile</code> above will install quite a few gems. </p> - <pre class="highlight plaintext">$ bundle install
Fetching gem metadata from https://rubygems.org/
Resolving dependencies...
Using rake (0.8.7)
Using abstract (1.0.0)
Installing activesupport (3.0.0.rc)
Using builder (2.1.2)
Using i18n (0.4.1)
Installing activemodel (3.0.0.rc)
Using erubis (2.6.6)
Using rack (1.2.1)
Installing rack-mount (0.6.9)
Using rack-test (0.5.4)
Using tzinfo (0.3.22)
Installing actionpack (3.0.0.rc)
Using mime-types (1.16)
Using polyglot (0.3.1)
Using treetop (1.4.8)
Using mail (2.2.5)
Installing actionmailer (3.0.0.rc)
Using arel (0.4.0)
Installing activerecord (3.0.0.rc)
Installing activeresource (3.0.0.rc)
Using bundler (1.0.0.rc.3)
Installing nokogiri (1.4.3.1) with native extensions
Installing rack-cache (0.5.2)
Installing thor (0.14.0)
Installing railties (3.0.0.rc)
Installing rails (3.0.0.rc)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
</pre> + <pre class="highlight plaintext">$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.3.1
Using json 1.8.1
Installing minitest 5.3.3
Installing i18n 0.6.9
Installing thread_safe 0.3.3
Installing builder 3.2.2
Installing rack 1.5.2
Installing erubis 2.7.0
Installing mime-types 1.25.1
Using bundler 1.6.2
Installing polyglot 0.3.4
Installing arel 5.0.1.20140414130214
Installing hike 1.2.3
Installing mini_portile 0.5.3
Installing multi_json 1.9.3
Installing thor 0.19.1
Installing tilt 1.4.1
Installing tzinfo 1.1.0
Installing rack-test 0.6.2
Installing rack-cache 1.2
Installing treetop 1.4.15
Installing sprockets 2.12.1
Installing activesupport 4.1.0.rc2
Installing mail 2.5.4
Installing actionview 4.1.0.rc2
Installing activemodel 4.1.0.rc2
Installing actionpack 4.1.0.rc2
Installing activerecord 4.1.0.rc2
Installing actionmailer 4.1.0.rc2
Installing sprockets-rails 2.0.1
Installing railties 4.1.0.rc2
Installing rails 4.1.0.rc2
Installing nokogiri 1.6.1
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
</pre> <p> If any of the needed gems are already installed, Bundler will use them. After installing any needed gems to your system, bundler writes a snapshot of all of the gems and @@ -64,7 +64,7 @@ </h2> <p> Bundler makes sure that Ruby can find all of the gems in the <code>Gemfile</code> - (and all of their dependencies). If your app is a Rails 3 app, your default application + (and all of their dependencies). If your app is a Rails 3+ app, your default application already has the code necessary to invoke bundler. If it is a Rails 2.3 app, please see <a href="./rails23.html">Setting up Bundler in Rails 2.3</a>. </p> @@ -95,7 +95,7 @@ gem is <code>require 'rack/cache'</code>, not <code>require 'rack-cache'</code>. To tell bundler to use <code>require 'rack/cache'</code>, update your Gemfile: </p> - <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'http://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="s1">'3.0.0.rc'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span><span class="p">,</span> <span class="ss">:require</span> <span class="o">=></span> <span class="s1">'rack/cache'</span>
<span class="n">gem</span> <span class="s1">'nokogiri'</span><span class="p">,</span> <span class="s1">'~> 1.4.2'</span>
</pre> + <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'rails'</span><span class="p">,</span> <span class="s1">'4.1.0.rc2'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span><span class="p">,</span> <span class="nb">require</span><span class="p">:</span> <span class="s1">'rack/cache'</span>
<span class="n">gem</span> <span class="s1">'nokogiri'</span><span class="p">,</span> <span class="s1">'~> 1.6.1'</span>
</pre> <p> For such a small <code>Gemfile</code>, we'd advise you to skip <code>Bundler.require</code> and just require the gems by hand (especially given the @@ -153,8 +153,8 @@ In other words, you don't have to guess which versions of the dependencies you should install. In the example we've been using, even though <code>rack-cache</code> declares a dependency on <code>rack >= 0.4</code>, we know for sure it works with <code>rack - 1.2.1</code>. Even if the Rack team releases <code>rack 1.2.2</code>, bundler will - always install <code>1.2.1</code>, the exact version of the gem that we know works. This + 1.5.2</code>. Even if the Rack team releases <code>rack 1.5.3</code>, bundler will + always install <code>1.5.2</code>, the exact version of the gem that we know works. This relieves a large maintenance burden from application developers, because all machines always run the exact same third-party code. </p> @@ -164,26 +164,26 @@ <p> Of course, at some point, you might want to update the version of a particular dependency your application relies on. For instance, you might want to update - <code>rails</code> to <code>3.0.0</code> final. Importantly, just because you're + <code>rails</code> to <code>4.1.0</code> final. Importantly, just because you're updating one dependency, it doesn't mean you want to re-resolve all of your dependencies and use the latest version of everything. In our example, you only have three dependencies, but even in this case, updating everything can cause complications. </p> <p> - To illustrate, the <code>rails 3.0.0.rc</code> gem depends on <code>actionpack - 3.0.0.rc</code> gem, which depends on <code>rack ~> 1.2.1</code> (which means <code>>= - 1.2.1</code> and <code>< 1.3.0</code>). The <code>rack-cache</code> gem depends on - <code>rack >= 0.4</code>. Let's assume that the <code>rails 3.0.0</code> final gem also - depends on <code>rack ~> 1.2.1</code>, and that since the release of <code>rails - 3.0.0</code>, the Rack team released <code>rack 1.2.2</code>. + To illustrate, the <code>rails 4.1.0.rc2</code> gem depends on <code>actionpack + 4.1.0.rc2</code> gem, which depends on <code>rack ~> 1.5.2</code> (which means <code>>= + 1.5.2</code> and <code>< 1.6.0</code>). The <code>rack-cache</code> gem depends on + <code>rack >= 0.4</code>. Let's assume that the <code>rails 4.1.0</code> final gem also + depends on <code>rack ~> 1.5.2</code>, and that since the release of <code>rails + 4.1.0</code>, the Rack team released <code>rack 1.5.3</code>. </p> <p> If we naïvely update all of our gems in order to update Rails, we'll get <code>rack - 1.2.2</code>, which satisfies the requirements of both <code>rails 3.0.0</code> and + 1.5.3</code>, which satisfies the requirements of both <code>rails 4.1.0</code> and <code>rack-cache</code>. However, we didn't specifically ask to update - <code>rack-cache</code>, which may not be compatible with <code>rack 1.2.2</code> (for - whatever reason). And while an update from <code>rack 1.2.1</code> to <code>rack - 1.2.2</code> probably won't break anything, similar scenarios can happen that involve + <code>rack-cache</code>, which may not be compatible with <code>rack 1.5.3</code> (for + whatever reason). And while an update from <code>rack 1.5.2</code> to <code>rack + 1.5.3</code> probably won't break anything, similar scenarios can happen that involve much larger jumps. (see [1] below for a larger discussion) </p> <p> @@ -191,15 +191,15 @@ dependency of that gem if another gem still depends on it. In this example, since <code>rack-cache</code> still depends on <code>rack</code>, bundler will not update the <code>rack</code> gem. This ensures that updating <code>rails</code> doesn't - inadvertently break <code>rack-cache</code>. Since <code>rails 3.0.0</code>'s dependency - <code>actionpack 3.0.0</code> remains compatible with <code>rack 1.2.1</code>, bundler + inadvertently break <code>rack-cache</code>. Since <code>rails 4.1.0</code>'s dependency + <code>actionpack 4.1.0</code> remains compatible with <code>rack 1.5.2</code>, bundler leaves it alone, and <code>rack-cache</code> continues to work even in the face of an - incompatibility with <code>rack 1.2.2</code>. + incompatibility with <code>rack 1.5.3</code>. </p> <p> - Since you originally declared a dependency on <code>rails 3.0.0.rc</code>, if you want - to update to <code>rails 3.0.0</code>, simply update your <code>Gemfile</code> to - <code>gem 'rails', '3.0.0'</code> and run: + Since you originally declared a dependency on <code>rails 4.1.0.rc2</code>, if you want + to update to <code>rails 4.1.0</code>, simply update your <code>Gemfile</code> to + <code>gem 'rails', '4.1.0'</code> and run: </p> <pre class="highlight plaintext">$ bundle install
</pre> <p> @@ -248,7 +248,7 @@ <p> It will, however, update dependencies of other gems if necessary. For instance, if the latest version of <code>rack-cache</code> specifies a dependency on <code>rack >= - 1.2.2</code>, bundler will update <code>rack</code> to <code>1.2.2</code> even though + 1.5.2</code>, bundler will update <code>rack</code> to <code>1.5.2</code> even though you have not asked bundler to update <code>rack</code>. If bundler needs to update a gem that another gem depends on, it will let you know after the update has completed. </p> @@ -284,7 +284,7 @@ Next, add any gems that your application depends on. If you care which version of a particular gem that you need, be sure to include an appropriate version restriction: </p> - <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'http://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'sinatra'</span><span class="p">,</span> <span class="s1">'~> 0.9.0'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span>
<span class="n">gem</span> <span class="s1">'rack-bug'</span>
</pre> + <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'sinatra'</span><span class="p">,</span> <span class="s1">'~> 1.3.6'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span>
<span class="n">gem</span> <span class="s1">'rack-bug'</span>
</pre> </li> <li> <p> @@ -296,7 +296,7 @@ <p> To update a gem's version requirements, first modify the Gemfile: </p> - <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'http://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'sinatra'</span><span class="p">,</span> <span class="s1">'~> 1.0.0'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span>
<span class="n">gem</span> <span class="s1">'rack-bug'</span>
</pre> + <pre class="highlight ruby"><span class="n">source</span> <span class="s1">'https://rubygems.org'</span>

<span class="n">gem</span> <span class="s1">'sinatra'</span><span class="p">,</span> <span class="s1">'~> 1.4.5'</span>
<span class="n">gem</span> <span class="s1">'rack-cache'</span>
<span class="n">gem</span> <span class="s1">'rack-bug'</span>
</pre> <p> and then run: </p> @@ -309,7 +309,7 @@ </p> <pre class="highlight plaintext">$ bundle update sinatra
</pre> <p> - This will update just the Sinatra gem, as well as any of its dependencies + This will update just the Sinatra gem, as well as any of its dependencies. </p> </li> <li> @@ -337,15 +337,15 @@ Notes </h2> <p> - [1] For instance, if <code>rails 3.0.0</code> depended on <code>rack 2.0</code>, that + [1] For instance, if <code>rails 4.1.0</code> depended on <code>rack 2.0</code>, that gem would still satisfy the requirement of <code>rack-cache</code>, which declares - <code>>= 1.0</code> as a dependency. Of course, you could argue that + <code>>= 0.4</code> as a dependency. Of course, you could argue that <code>rack-cache</code> is silly for depending on open-ended versions, but these situations exist (extensively) in the wild, and projects often find themselves between a rock and a hard place when deciding what version to depend on. Constrain the dependency - too much (<code>rack =1.2.1</code>) and you make it hard to use your project in other + too much (<code>rack =1.5.1</code>) and you make it hard to use your project in other compatible projects. Constrain it too little (<code>rack >= 1.0</code>) and a new - release of Rack may break your code. Using dependencies like <code>rack ~> 1.2.1</code> + release of Rack may break your code. Using dependencies like <code>rack ~> 1.5.2</code> and versioning code in a SemVer compliant way mostly solves this problem, but it assumes universal compliance. Since Rubygems has over 100,000 packages, this assumption simply doesn't hold in practice. |