bundler 2.0.0.pre.1 → 2.1.0.pre.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +774 -574
  3. data/LICENSE.md +18 -19
  4. data/README.md +9 -8
  5. data/bundler.gemspec +12 -23
  6. data/exe/bundle +19 -3
  7. data/lib/bundler.rb +203 -87
  8. data/lib/bundler/build_metadata.rb +14 -7
  9. data/lib/bundler/capistrano.rb +5 -5
  10. data/lib/bundler/cli.rb +181 -143
  11. data/lib/bundler/cli/add.rb +28 -16
  12. data/lib/bundler/cli/cache.rb +25 -13
  13. data/lib/bundler/cli/common.rb +11 -12
  14. data/lib/bundler/cli/config.rb +161 -86
  15. data/lib/bundler/cli/console.rb +2 -2
  16. data/lib/bundler/cli/doctor.rb +4 -4
  17. data/lib/bundler/cli/exec.rb +4 -16
  18. data/lib/bundler/cli/gem.rb +5 -5
  19. data/lib/bundler/cli/info.rb +17 -5
  20. data/lib/bundler/cli/init.rb +1 -1
  21. data/lib/bundler/cli/install.rb +12 -11
  22. data/lib/bundler/cli/issue.rb +3 -3
  23. data/lib/bundler/cli/open.rb +10 -6
  24. data/lib/bundler/cli/outdated.rb +85 -81
  25. data/lib/bundler/cli/plugin.rb +9 -2
  26. data/lib/bundler/cli/pristine.rb +1 -1
  27. data/lib/bundler/cli/show.rb +1 -1
  28. data/lib/bundler/cli/update.rb +32 -12
  29. data/lib/bundler/compact_index_client.rb +25 -9
  30. data/lib/bundler/compact_index_client/updater.rb +2 -6
  31. data/lib/bundler/current_ruby.rb +9 -7
  32. data/lib/bundler/definition.rb +36 -27
  33. data/lib/bundler/dependency.rb +16 -4
  34. data/lib/bundler/deployment.rb +2 -2
  35. data/lib/bundler/dsl.rb +18 -42
  36. data/lib/bundler/env.rb +8 -13
  37. data/lib/bundler/environment_preserver.rb +0 -1
  38. data/lib/bundler/feature_flag.rb +1 -11
  39. data/lib/bundler/fetcher.rb +14 -11
  40. data/lib/bundler/fetcher/compact_index.rb +26 -12
  41. data/lib/bundler/fetcher/dependency.rb +1 -1
  42. data/lib/bundler/fetcher/downloader.rb +4 -1
  43. data/lib/bundler/fetcher/index.rb +4 -2
  44. data/lib/bundler/friendly_errors.rb +5 -6
  45. data/lib/bundler/gem_helper.rb +38 -25
  46. data/lib/bundler/gem_helpers.rb +2 -4
  47. data/lib/bundler/gem_tasks.rb +1 -1
  48. data/lib/bundler/gem_version_promoter.rb +3 -3
  49. data/lib/bundler/graph.rb +2 -2
  50. data/lib/bundler/injector.rb +10 -8
  51. data/lib/bundler/inline.rb +25 -20
  52. data/lib/bundler/installer.rb +7 -14
  53. data/lib/bundler/installer/gem_installer.rb +5 -1
  54. data/lib/bundler/installer/parallel_installer.rb +4 -8
  55. data/lib/bundler/installer/standalone.rb +1 -2
  56. data/lib/bundler/lazy_specification.rb +2 -2
  57. data/lib/bundler/lockfile_parser.rb +14 -21
  58. data/lib/bundler/match_platform.rb +1 -1
  59. data/lib/bundler/plugin.rb +42 -29
  60. data/lib/bundler/plugin/api.rb +1 -1
  61. data/lib/bundler/plugin/api/source.rb +2 -2
  62. data/lib/bundler/plugin/index.rb +14 -3
  63. data/lib/bundler/plugin/installer.rb +28 -15
  64. data/lib/bundler/psyched_yaml.rb +1 -1
  65. data/lib/bundler/resolver.rb +72 -24
  66. data/lib/bundler/resolver/spec_group.rb +3 -2
  67. data/lib/bundler/retry.rb +2 -2
  68. data/lib/bundler/ruby_version.rb +4 -19
  69. data/lib/bundler/rubygems_ext.rb +11 -67
  70. data/lib/bundler/rubygems_gem_installer.rb +1 -1
  71. data/lib/bundler/rubygems_integration.rb +143 -395
  72. data/lib/bundler/runtime.rb +2 -9
  73. data/lib/bundler/settings.rb +15 -48
  74. data/lib/bundler/setup.rb +7 -13
  75. data/lib/bundler/shared_helpers.rb +57 -73
  76. data/lib/bundler/similarity_detector.rb +2 -2
  77. data/lib/bundler/source.rb +5 -5
  78. data/lib/bundler/source/git.rb +19 -12
  79. data/lib/bundler/source/git/git_proxy.rb +36 -40
  80. data/lib/bundler/source/metadata.rb +9 -5
  81. data/lib/bundler/source/path.rb +13 -8
  82. data/lib/bundler/source/rubygems.rb +11 -5
  83. data/lib/bundler/source/rubygems/remote.rb +1 -2
  84. data/lib/bundler/source_list.rb +9 -12
  85. data/lib/bundler/spec_set.rb +23 -12
  86. data/lib/bundler/stub_specification.rb +18 -30
  87. data/lib/bundler/templates/Executable.bundler +23 -14
  88. data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +3 -3
  89. data/lib/bundler/templates/newgem/Gemfile.tt +8 -2
  90. data/lib/bundler/templates/newgem/README.md.tt +4 -3
  91. data/lib/bundler/templates/newgem/newgem.gemspec.tt +6 -27
  92. data/lib/bundler/templates/newgem/test/test_helper.rb.tt +1 -1
  93. data/lib/bundler/templates/newgem/travis.yml.tt +0 -1
  94. data/lib/bundler/ui.rb +3 -3
  95. data/lib/bundler/ui/rg_proxy.rb +1 -1
  96. data/lib/bundler/ui/shell.rb +4 -8
  97. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +161 -0
  98. data/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +66 -0
  99. data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +176 -0
  100. data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  101. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +273 -147
  102. data/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +5 -0
  103. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +6 -6
  104. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  105. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -1
  106. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -1
  107. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -1
  108. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -1
  109. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +6 -6
  110. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -1
  111. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -1
  112. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +30 -8
  113. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +1 -1
  114. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +4 -4
  115. data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +2 -2
  116. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +248 -279
  117. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +40 -0
  118. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +53 -0
  119. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  120. data/lib/bundler/vendor/thor/lib/thor.rb +12 -4
  121. data/lib/bundler/vendor/thor/lib/thor/actions.rb +22 -11
  122. data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -1
  123. data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -1
  124. data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +7 -17
  125. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +16 -7
  126. data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +19 -8
  127. data/lib/bundler/vendor/thor/lib/thor/base.rb +25 -24
  128. data/lib/bundler/vendor/thor/lib/thor/command.rb +21 -14
  129. data/lib/bundler/vendor/thor/lib/thor/error.rb +78 -0
  130. data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
  131. data/lib/bundler/vendor/thor/lib/thor/invocation.rb +1 -0
  132. data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
  133. data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +1 -1
  134. data/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +6 -6
  135. data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
  136. data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +1 -1
  137. data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +8 -6
  138. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +20 -5
  139. data/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +1 -0
  140. data/lib/bundler/vendor/thor/lib/thor/runner.rb +8 -6
  141. data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
  142. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +52 -7
  143. data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +6 -2
  144. data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +1 -1
  145. data/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  146. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  147. data/lib/bundler/vendored_fileutils.rb +1 -6
  148. data/lib/bundler/vendored_molinillo.rb +1 -1
  149. data/lib/bundler/vendored_persistent.rb +7 -5
  150. data/lib/bundler/vendored_thor.rb +2 -2
  151. data/lib/bundler/version.rb +1 -20
  152. data/lib/bundler/version_ranges.rb +51 -5
  153. data/lib/bundler/vlad.rb +3 -3
  154. data/lib/bundler/worker.rb +1 -3
  155. data/lib/bundler/yaml_serializer.rb +2 -3
  156. data/man/bundle-add.1 +10 -2
  157. data/man/bundle-add.1.txt +11 -5
  158. data/man/bundle-add.ronn +7 -1
  159. data/man/bundle-binstubs.1 +2 -2
  160. data/man/bundle-binstubs.1.txt +2 -2
  161. data/man/bundle-binstubs.ronn +1 -1
  162. data/man/bundle-cache.1 +55 -0
  163. data/man/bundle-cache.1.txt +78 -0
  164. data/man/{bundle-package.ronn → bundle-cache.ronn} +15 -15
  165. data/man/bundle-check.1 +1 -1
  166. data/man/bundle-check.1.txt +6 -6
  167. data/man/bundle-clean.1 +1 -1
  168. data/man/bundle-clean.1.txt +1 -1
  169. data/man/bundle-config.1 +36 -36
  170. data/man/bundle-config.1.txt +66 -67
  171. data/man/bundle-config.ronn +42 -40
  172. data/man/bundle-doctor.1 +1 -1
  173. data/man/bundle-doctor.1.txt +1 -1
  174. data/man/bundle-exec.1 +2 -2
  175. data/man/bundle-exec.1.txt +2 -2
  176. data/man/bundle-exec.ronn +1 -1
  177. data/man/bundle-gem.1 +1 -1
  178. data/man/bundle-gem.1.txt +3 -3
  179. data/man/bundle-info.1 +1 -1
  180. data/man/bundle-info.1.txt +1 -1
  181. data/man/bundle-init.1 +2 -2
  182. data/man/bundle-init.1.txt +2 -2
  183. data/man/bundle-init.ronn +1 -1
  184. data/man/bundle-inject.1 +1 -1
  185. data/man/bundle-inject.1.txt +1 -1
  186. data/man/bundle-install.1 +8 -5
  187. data/man/bundle-install.1.txt +56 -51
  188. data/man/bundle-install.ronn +9 -4
  189. data/man/bundle-list.1 +1 -1
  190. data/man/bundle-list.1.txt +1 -1
  191. data/man/bundle-lock.1 +1 -1
  192. data/man/bundle-lock.1.txt +16 -16
  193. data/man/bundle-open.1 +1 -1
  194. data/man/bundle-open.1.txt +1 -1
  195. data/man/bundle-outdated.1 +1 -1
  196. data/man/bundle-outdated.1.txt +1 -1
  197. data/man/bundle-platform.1 +1 -1
  198. data/man/bundle-platform.1.txt +1 -1
  199. data/man/bundle-pristine.1 +1 -1
  200. data/man/bundle-pristine.1.txt +1 -1
  201. data/man/bundle-remove.1 +1 -1
  202. data/man/bundle-remove.1.txt +1 -1
  203. data/man/bundle-show.1 +1 -1
  204. data/man/bundle-show.1.txt +1 -1
  205. data/man/bundle-update.1 +4 -4
  206. data/man/bundle-update.1.txt +64 -65
  207. data/man/bundle-update.ronn +3 -3
  208. data/man/bundle-viz.1 +1 -1
  209. data/man/bundle-viz.1.txt +1 -1
  210. data/man/bundle.1 +7 -3
  211. data/man/bundle.1.txt +11 -8
  212. data/man/bundle.ronn +5 -2
  213. data/man/gemfile.5 +17 -20
  214. data/man/gemfile.5.ronn +14 -18
  215. data/man/gemfile.5.txt +108 -112
  216. data/man/index.txt +1 -1
  217. metadata +19 -107
  218. data/exe/bundle_ruby +0 -60
  219. data/lib/bundler/cli/package.rb +0 -49
  220. data/lib/bundler/compatibility_guard.rb +0 -14
  221. data/lib/bundler/ssl_certs/.document +0 -1
  222. data/lib/bundler/ssl_certs/certificate_manager.rb +0 -66
  223. data/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +0 -21
  224. data/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
  225. data/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
  226. data/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +0 -27
  227. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +0 -129
  228. data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +0 -129
  229. data/man/bundle-package.1 +0 -55
  230. data/man/bundle-package.1.txt +0 -79
@@ -1,13 +1,13 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-ADD" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-ADD" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle add\fR \fIGEM_NAME\fR [\-\-group=GROUP] [\-\-version=VERSION] [\-\-source=SOURCE] [\-\-skip\-install] [\-\-strict] [\-\-optimistic]
10
+ \fBbundle add\fR \fIGEM_NAME\fR [\-\-group=GROUP] [\-\-version=VERSION] [\-\-source=SOURCE] [\-\-git=GIT] [\-\-branch=BRANCH] [\-\-skip\-install] [\-\-strict] [\-\-optimistic]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  Adds the named gem to the Gemfile and run \fBbundle install\fR\. \fBbundle install\fR can be avoided by using the flag \fB\-\-skip\-install\fR\.
@@ -45,6 +45,14 @@ Specify the group(s) for the added gem\. Multiple groups should be separated by
45
45
  Specify the source for the added gem\.
46
46
  .
47
47
  .TP
48
+ \fB\-\-git\fR
49
+ Specify the git source for the added gem\.
50
+ .
51
+ .TP
52
+ \fB\-\-branch\fR
53
+ Specify the git branch for the added gem\.
54
+ .
55
+ .TP
48
56
  \fB\-\-skip\-install\fR
49
57
  Adds the gem to the Gemfile but does not install it\.
50
58
  .
@@ -7,10 +7,11 @@ NAME
7
7
 
8
8
  SYNOPSIS
9
9
  bundle add GEM_NAME [--group=GROUP] [--version=VERSION]
10
- [--source=SOURCE] [--skip-install] [--strict] [--optimistic]
10
+ [--source=SOURCE] [--git=GIT] [--branch=BRANCH] [--skip-install]
11
+ [--strict] [--optimistic]
11
12
 
12
13
  DESCRIPTION
13
- Adds the named gem to the Gemfile and run bundle install. bundle
14
+ Adds the named gem to the Gemfile and run bundle install. bundle
14
15
  install can be avoided by using the flag --skip-install.
15
16
 
16
17
  Example:
@@ -19,7 +20,7 @@ DESCRIPTION
19
20
 
20
21
  bundle add rails --version "< 3.0, > 1.1"
21
22
 
22
- bundle add rails --version "~> 5.0.0" --source "https://gems.exam-
23
+ bundle add rails --version "~> 5.0.0" --source "https://gems.exam-
23
24
  ple.com" --group "development"
24
25
 
25
26
  bundle add rails --skip-install
@@ -31,12 +32,17 @@ OPTIONS
31
32
  Specify version requirements(s) for the added gem.
32
33
 
33
34
  --group, -g
34
- Specify the group(s) for the added gem. Multiple groups should
35
+ Specify the group(s) for the added gem. Multiple groups should
35
36
  be separated by commas.
36
37
 
37
38
  --source, , -s
38
39
  Specify the source for the added gem.
39
40
 
41
+ --git Specify the git source for the added gem.
42
+
43
+ --branch
44
+ Specify the git branch for the added gem.
45
+
40
46
  --skip-install
41
47
  Adds the gem to the Gemfile but does not install it.
42
48
 
@@ -49,4 +55,4 @@ OPTIONS
49
55
 
50
56
 
51
57
 
52
- October 2018 BUNDLE-ADD(1)
58
+ November 2019 BUNDLE-ADD(1)
@@ -3,7 +3,7 @@ bundle-add(1) -- Add gem to the Gemfile and run bundle install
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--skip-install] [--strict] [--optimistic]
6
+ `bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--git=GIT] [--branch=BRANCH] [--skip-install] [--strict] [--optimistic]
7
7
 
8
8
  ## DESCRIPTION
9
9
  Adds the named gem to the Gemfile and run `bundle install`. `bundle install` can be avoided by using the flag `--skip-install`.
@@ -30,6 +30,12 @@ bundle add rails --group "development, test"
30
30
  * `--source`, , `-s`:
31
31
  Specify the source for the added gem.
32
32
 
33
+ * `--git`:
34
+ Specify the git source for the added gem.
35
+
36
+ * `--branch`:
37
+ Specify the git branch for the added gem.
38
+
33
39
  * `--skip-install`:
34
40
  Adds the gem to the Gemfile but does not install it.
35
41
 
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-BINSTUBS" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-BINSTUBS" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
@@ -10,7 +10,7 @@
10
10
  \fBbundle binstubs\fR \fIGEM_NAME\fR [\-\-force] [\-\-path PATH] [\-\-standalone]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can by run directly, and one that will always run the correct gem version used by the application\.
13
+ Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can be run directly, and one that will always run the correct gem version used by the application\.
14
14
  .
15
15
  .P
16
16
  For example, if you run \fBbundle binstubs rspec\-core\fR, Bundler will create the file \fBbin/rspec\fR\. That file will contain enough code to load Bundler, tell it to load the bundled gems, and then run rspec\.
@@ -12,7 +12,7 @@ DESCRIPTION
12
12
  Binstubs are scripts that wrap around executables. Bundler creates a
13
13
  small Ruby file (a binstub) that loads Bundler, runs the command, and
14
14
  puts it into bin/. Binstubs are a shortcut-or alternative- to always
15
- using bundle exec. This gives you a file that can by run directly, and
15
+ using bundle exec. This gives you a file that can be run directly, and
16
16
  one that will always run the correct gem version used by the applica-
17
17
  tion.
18
18
 
@@ -45,4 +45,4 @@ BUNDLE INSTALL --BINSTUBS
45
45
 
46
46
 
47
47
 
48
- October 2018 BUNDLE-BINSTUBS(1)
48
+ November 2019 BUNDLE-BINSTUBS(1)
@@ -10,7 +10,7 @@ bundle-binstubs(1) -- Install the binstubs of the listed gems
10
10
  Binstubs are scripts that wrap around executables. Bundler creates a
11
11
  small Ruby file (a binstub) that loads Bundler, runs the command,
12
12
  and puts it into `bin/`. Binstubs are a shortcut-or alternative-
13
- to always using `bundle exec`. This gives you a file that can by run
13
+ to always using `bundle exec`. This gives you a file that can be run
14
14
  directly, and one that will always run the correct gem version
15
15
  used by the application.
16
16
 
@@ -0,0 +1,55 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-CACHE" "1" "November 2019" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBbundle cache\fR
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Copy all of the \fB\.gem\fR files needed to run the application into the \fBvendor/cache\fR directory\. In the future, when running [bundle install(1)][bundle\-install], use the gems in the cache in preference to the ones on \fBrubygems\.org\fR\.
14
+ .
15
+ .SH "GIT AND PATH GEMS"
16
+ The \fBbundle cache\fR command can also package \fB:git\fR and \fB:path\fR dependencies besides \.gem files\. This needs to be explicitly enabled via the \fB\-\-all\fR option\. Once used, the \fB\-\-all\fR option will be remembered\.
17
+ .
18
+ .SH "SUPPORT FOR MULTIPLE PLATFORMS"
19
+ When using gems that have different packages for different platforms, Bundler supports caching of gems for other platforms where the Gemfile has been resolved (i\.e\. present in the lockfile) in \fBvendor/cache\fR\. This needs to be enabled via the \fB\-\-all\-platforms\fR option\. This setting will be remembered in your local bundler configuration\.
20
+ .
21
+ .SH "REMOTE FETCHING"
22
+ By default, if you run \fBbundle install(1)\fR](bundle\-install\.1\.html) after running bundle cache(1) \fIbundle\-cache\.1\.html\fR, bundler will still connect to \fBrubygems\.org\fR to check whether a platform\-specific gem exists for any of the gems in \fBvendor/cache\fR\.
23
+ .
24
+ .P
25
+ For instance, consider this Gemfile(5):
26
+ .
27
+ .IP "" 4
28
+ .
29
+ .nf
30
+
31
+ source "https://rubygems\.org"
32
+
33
+ gem "nokogiri"
34
+ .
35
+ .fi
36
+ .
37
+ .IP "" 0
38
+ .
39
+ .P
40
+ If you run \fBbundle cache\fR under C Ruby, bundler will retrieve the version of \fBnokogiri\fR for the \fB"ruby"\fR platform\. If you deploy to JRuby and run \fBbundle install\fR, bundler is forced to check to see whether a \fB"java"\fR platformed \fBnokogiri\fR exists\.
41
+ .
42
+ .P
43
+ Even though the \fBnokogiri\fR gem for the Ruby platform is \fItechnically\fR acceptable on JRuby, it has a C extension that does not run on JRuby\. As a result, bundler will, by default, still connect to \fBrubygems\.org\fR to check whether it has a version of one of your gems more specific to your platform\.
44
+ .
45
+ .P
46
+ This problem is also not limited to the \fB"java"\fR platform\. A similar (common) problem can happen when developing on Windows and deploying to Linux, or even when developing on OSX and deploying to Linux\.
47
+ .
48
+ .P
49
+ If you know for sure that the gems packaged in \fBvendor/cache\fR are appropriate for the platform you are on, you can run \fBbundle install \-\-local\fR to skip checking for more appropriate gems, and use the ones in \fBvendor/cache\fR\.
50
+ .
51
+ .P
52
+ One way to be sure that you have the right platformed versions of all your gems is to run \fBbundle cache\fR on an identical machine and check in the gems\. For instance, you can run \fBbundle cache\fR on an identical staging box during your staging process, and check in the \fBvendor/cache\fR before deploying to production\.
53
+ .
54
+ .P
55
+ By default, bundle cache(1) \fIbundle\-cache\.1\.html\fR fetches and also installs the gems to the default location\. To package the dependencies to \fBvendor/cache\fR without installing them to the local install location, you can run \fBbundle cache \-\-no\-install\fR\.
@@ -0,0 +1,78 @@
1
+ BUNDLE-CACHE(1) BUNDLE-CACHE(1)
2
+
3
+
4
+
5
+ NAME
6
+ bundle-cache - Package your needed .gem files into your application
7
+
8
+ SYNOPSIS
9
+ bundle cache
10
+
11
+ DESCRIPTION
12
+ Copy all of the .gem files needed to run the application into the ven-
13
+ dor/cache directory. In the future, when running [bundle
14
+ install(1)][bundle-install], use the gems in the cache in preference to
15
+ the ones on rubygems.org.
16
+
17
+ GIT AND PATH GEMS
18
+ The bundle cache command can also package :git and :path dependencies
19
+ besides .gem files. This needs to be explicitly enabled via the --all
20
+ option. Once used, the --all option will be remembered.
21
+
22
+ SUPPORT FOR MULTIPLE PLATFORMS
23
+ When using gems that have different packages for different platforms,
24
+ Bundler supports caching of gems for other platforms where the Gemfile
25
+ has been resolved (i.e. present in the lockfile) in vendor/cache. This
26
+ needs to be enabled via the --all-platforms option. This setting will
27
+ be remembered in your local bundler configuration.
28
+
29
+ REMOTE FETCHING
30
+ By default, if you run bundle install(1)](bundle-install.1.html) after
31
+ running bundle cache(1) bundle-cache.1.html, bundler will still connect
32
+ to rubygems.org to check whether a platform-specific gem exists for any
33
+ of the gems in vendor/cache.
34
+
35
+ For instance, consider this Gemfile(5):
36
+
37
+
38
+
39
+ source "https://rubygems.org"
40
+
41
+ gem "nokogiri"
42
+
43
+
44
+
45
+ If you run bundle cache under C Ruby, bundler will retrieve the version
46
+ of nokogiri for the "ruby" platform. If you deploy to JRuby and run
47
+ bundle install, bundler is forced to check to see whether a "java"
48
+ platformed nokogiri exists.
49
+
50
+ Even though the nokogiri gem for the Ruby platform is technically
51
+ acceptable on JRuby, it has a C extension that does not run on JRuby.
52
+ As a result, bundler will, by default, still connect to rubygems.org to
53
+ check whether it has a version of one of your gems more specific to
54
+ your platform.
55
+
56
+ This problem is also not limited to the "java" platform. A similar
57
+ (common) problem can happen when developing on Windows and deploying to
58
+ Linux, or even when developing on OSX and deploying to Linux.
59
+
60
+ If you know for sure that the gems packaged in vendor/cache are appro-
61
+ priate for the platform you are on, you can run bundle install --local
62
+ to skip checking for more appropriate gems, and use the ones in ven-
63
+ dor/cache.
64
+
65
+ One way to be sure that you have the right platformed versions of all
66
+ your gems is to run bundle cache on an identical machine and check in
67
+ the gems. For instance, you can run bundle cache on an identical stag-
68
+ ing box during your staging process, and check in the vendor/cache
69
+ before deploying to production.
70
+
71
+ By default, bundle cache(1) bundle-cache.1.html fetches and also
72
+ installs the gems to the default location. To package the dependencies
73
+ to vendor/cache without installing them to the local install location,
74
+ you can run bundle cache --no-install.
75
+
76
+
77
+
78
+ November 2019 BUNDLE-CACHE(1)
@@ -1,9 +1,9 @@
1
- bundle-package(1) -- Package your needed `.gem` files into your application
1
+ bundle-cache(1) -- Package your needed `.gem` files into your application
2
2
  ===========================================================================
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle package`
6
+ `bundle cache`
7
7
 
8
8
  ## DESCRIPTION
9
9
 
@@ -13,22 +13,22 @@ use the gems in the cache in preference to the ones on `rubygems.org`.
13
13
 
14
14
  ## GIT AND PATH GEMS
15
15
 
16
- Since Bundler 1.2, the `bundle package` command can also package `:git` and
17
- `:path` dependencies besides .gem files. This needs to be explicitly enabled
18
- via the `--all` option. Once used, the `--all` option will be remembered.
16
+ The `bundle cache` command can also package `:git` and `:path` dependencies
17
+ besides .gem files. This needs to be explicitly enabled via the `--all` option.
18
+ Once used, the `--all` option will be remembered.
19
19
 
20
20
  ## SUPPORT FOR MULTIPLE PLATFORMS
21
21
 
22
22
  When using gems that have different packages for different platforms, Bundler
23
- 1.8 and newer support caching of gems for other platforms where the Gemfile
24
- has been resolved (i.e. present in the lockfile) in `vendor/cache`. This needs
25
- to be enabled via the `--all-platforms` option. This setting will be remembered
26
- in your local bundler configuration.
23
+ supports caching of gems for other platforms where the Gemfile has been resolved
24
+ (i.e. present in the lockfile) in `vendor/cache`. This needs to be enabled via
25
+ the `--all-platforms` option. This setting will be remembered in your local
26
+ bundler configuration.
27
27
 
28
28
  ## REMOTE FETCHING
29
29
 
30
30
  By default, if you run `bundle install(1)`](bundle-install.1.html) after running
31
- [bundle package(1)](bundle-package.1.html), bundler will still connect to `rubygems.org`
31
+ [bundle cache(1)](bundle-cache.1.html), bundler will still connect to `rubygems.org`
32
32
  to check whether a platform-specific gem exists for any of the gems
33
33
  in `vendor/cache`.
34
34
 
@@ -38,7 +38,7 @@ For instance, consider this Gemfile(5):
38
38
 
39
39
  gem "nokogiri"
40
40
 
41
- If you run `bundle package` under C Ruby, bundler will retrieve
41
+ If you run `bundle cache` under C Ruby, bundler will retrieve
42
42
  the version of `nokogiri` for the `"ruby"` platform. If you deploy
43
43
  to JRuby and run `bundle install`, bundler is forced to check to
44
44
  see whether a `"java"` platformed `nokogiri` exists.
@@ -60,13 +60,13 @@ are appropriate for the platform you are on, you can run
60
60
  gems, and use the ones in `vendor/cache`.
61
61
 
62
62
  One way to be sure that you have the right platformed versions
63
- of all your gems is to run `bundle package` on an identical
63
+ of all your gems is to run `bundle cache` on an identical
64
64
  machine and check in the gems. For instance, you can run
65
- `bundle package` on an identical staging box during your
65
+ `bundle cache` on an identical staging box during your
66
66
  staging process, and check in the `vendor/cache` before
67
67
  deploying to production.
68
68
 
69
- By default, [bundle package(1)](bundle-package.1.html) fetches and also
69
+ By default, [bundle cache(1)](bundle-cache.1.html) fetches and also
70
70
  installs the gems to the default location. To package the
71
71
  dependencies to `vendor/cache` without installing them to the
72
- local install location, you can run `bundle package --no-install`.
72
+ local install location, you can run `bundle cache --no-install`.
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CHECK" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-CHECK" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
@@ -9,8 +9,8 @@ SYNOPSIS
9
9
  bundle check [--dry-run] [--gemfile=FILE] [--path=PATH]
10
10
 
11
11
  DESCRIPTION
12
- check searches the local machine for each of the gems requested in the
13
- Gemfile. If all gems are found, Bundler prints a success message and
12
+ check searches the local machine for each of the gems requested in the
13
+ Gemfile. If all gems are found, Bundler prints a success message and
14
14
  exits with a status of 0.
15
15
 
16
16
  If not, the first missing gem is listed and Bundler exits status 1.
@@ -20,14 +20,14 @@ OPTIONS
20
20
  Locks the [Gemfile(5)][Gemfile(5)] before running the command.
21
21
 
22
22
  --gemfile
23
- Use the specified gemfile instead of the [Gemfile(5)][Gem-
23
+ Use the specified gemfile instead of the [Gemfile(5)][Gem-
24
24
  file(5)].
25
25
 
26
- --path Specify a different path than the system default ($BUNDLE_PATH
27
- or $GEM_HOME). Bundler will remember this value for future
26
+ --path Specify a different path than the system default ($BUNDLE_PATH
27
+ or $GEM_HOME). Bundler will remember this value for future
28
28
  installs on this machine.
29
29
 
30
30
 
31
31
 
32
32
 
33
- October 2018 BUNDLE-CHECK(1)
33
+ November 2019 BUNDLE-CHECK(1)
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CLEAN" "1" "October 2018" "" ""
4
+ .TH "BUNDLE\-CLEAN" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
@@ -23,4 +23,4 @@ OPTIONS
23
23
 
24
24
 
25
25
 
26
- October 2018 BUNDLE-CLEAN(1)
26
+ November 2019 BUNDLE-CLEAN(1)
@@ -1,13 +1,13 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CONFIG" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-CONFIG" "1" "November 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-config\fR \- Set bundler configuration options
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle config\fR [\fIname\fR [\fIvalue\fR]]
10
+ \fBbundle config\fR [list|get|set|unset] [\fIname\fR [\fIvalue\fR]]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  This command allows you to interact with Bundler\'s configuration system\.
@@ -30,31 +30,40 @@ Bundler default config
30
30
  .IP "" 0
31
31
  .
32
32
  .P
33
- Executing \fBbundle config\fR with no parameters will print a list of all bundler configuration for the current bundle, and where that configuration was set\.
33
+ Executing \fBbundle config list\fR with will print a list of all bundler configuration for the current bundle, and where that configuration was set\.
34
34
  .
35
35
  .P
36
- Executing \fBbundle config <name>\fR will print the value of that configuration setting, and where it was set\.
36
+ Executing \fBbundle config get <name>\fR will print the value of that configuration setting, and where it was set\.
37
37
  .
38
38
  .P
39
- Executing \fBbundle config <name> <value>\fR will set that configuration to the value specified for all bundles executed as the current user\. The configuration will be stored in \fB~/\.bundle/config\fR\. If \fIname\fR already is set, \fIname\fR will be overridden and user will be warned\.
39
+ Executing \fBbundle config set <name> <value>\fR will set that configuration to the value specified for all bundles executed as the current user\. The configuration will be stored in \fB~/\.bundle/config\fR\. If \fIname\fR already is set, \fIname\fR will be overridden and user will be warned\.
40
40
  .
41
41
  .P
42
- Executing \fBbundle config \-\-global <name> <value>\fR works the same as above\.
42
+ Executing \fBbundle config set \-\-global <name> <value>\fR works the same as above\.
43
43
  .
44
44
  .P
45
- Executing \fBbundle config \-\-local <name> <value>\fR will set that configuration to the local application\. The configuration will be stored in \fBapp/\.bundle/config\fR\.
45
+ Executing \fBbundle config set \-\-local <name> <value>\fR will set that configuration to the local application\. The configuration will be stored in \fBapp/\.bundle/config\fR\.
46
46
  .
47
47
  .P
48
- Executing \fBbundle config \-\-delete <name>\fR will delete the configuration in both local and global sources\. Not compatible with \-\-global or \-\-local flag\.
48
+ Executing \fBbundle config unset <name>\fR will delete the configuration in both local and global sources\.
49
+ .
50
+ .P
51
+ Executing \fBbundle config unset \-\-global <name>\fR will delete the configuration only from the user configuration\.
52
+ .
53
+ .P
54
+ Executing \fBbundle config unset \-\-local <name> <value>\fR will delete the configuration only from the local application\.
49
55
  .
50
56
  .P
51
57
  Executing bundle with the \fBBUNDLE_IGNORE_CONFIG\fR environment variable set will cause it to ignore all configuration\.
52
58
  .
53
59
  .P
54
- Executing \fBbundle config disable_multisource true\fR upgrades the warning about the Gemfile containing multiple primary sources to an error\. Executing \fBbundle config \-\-delete disable_multisource\fR downgrades this error to a warning\.
60
+ Executing \fBbundle config set disable_multisource true\fR upgrades the warning about the Gemfile containing multiple primary sources to an error\. Executing \fBbundle config unset disable_multisource\fR downgrades this error to a warning\.
55
61
  .
56
62
  .SH "REMEMBERING OPTIONS"
57
- Flags passed to \fBbundle install\fR or the Bundler runtime, such as \fB\-\-path foo\fR or \fB\-\-without production\fR, are not remembered between commands\. If these options must be remembered,they must be set using \fBbundle config\fR (e\.g\., \fBbundle config path foo\fR)\.
63
+ Flags passed to \fBbundle install\fR or the Bundler runtime, such as \fB\-\-path foo\fR or \fB\-\-without production\fR, are remembered between commands and saved to your local application\'s configuration (normally, \fB\./\.bundle/config\fR)\.
64
+ .
65
+ .P
66
+ However, this will be changed in bundler 3, so it\'s better not to rely on this behavior\. If these options must be remembered, it\'s better to set them using \fBbundle config\fR (e\.g\., \fBbundle config set path foo\fR)\.
58
67
  .
59
68
  .P
60
69
  The options that can be configured are:
@@ -102,7 +111,7 @@ Since the specific location of that executable can change from machine to machin
102
111
  .
103
112
  .nf
104
113
 
105
- bundle config build\.mysql \-\-with\-mysql\-config=/usr/local/mysql/bin/mysql_config
114
+ bundle config set build\.mysql \-\-with\-mysql\-config=/usr/local/mysql/bin/mysql_config
106
115
  .
107
116
  .fi
108
117
  .
@@ -151,7 +160,7 @@ The following is a list of all configuration keys and their purpose\. You can le
151
160
  \fBcache_all_platforms\fR (\fBBUNDLE_CACHE_ALL_PLATFORMS\fR): Cache gems for all platforms\.
152
161
  .
153
162
  .IP "\(bu" 4
154
- \fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/bundle\fR\.
163
+ \fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/cache\fR\.
155
164
  .
156
165
  .IP "\(bu" 4
157
166
  \fBclean\fR (\fBBUNDLE_CLEAN\fR): Whether Bundler should run \fBbundle clean\fR automatically after \fBbundle install\fR\.
@@ -175,7 +184,7 @@ The following is a list of all configuration keys and their purpose\. You can le
175
184
  \fBdisable_local_branch_check\fR (\fBBUNDLE_DISABLE_LOCAL_BRANCH_CHECK\fR): Allow Bundler to use a local git override without a branch specified in the Gemfile\.
176
185
  .
177
186
  .IP "\(bu" 4
178
- \fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config \-\-delete disable_multisource\fR to unset\.
187
+ \fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config unset disable_multisource\fR to unset\.
179
188
  .
180
189
  .IP "\(bu" 4
181
190
  \fBdisable_platform_warnings\fR (\fBBUNDLE_DISABLE_PLATFORM_WARNINGS\fR): Disable warnings during bundle install when a dependency is unused on the current platform\.
@@ -187,9 +196,6 @@ The following is a list of all configuration keys and their purpose\. You can le
187
196
  \fBdisable_version_check\fR (\fBBUNDLE_DISABLE_VERSION_CHECK\fR): Stop Bundler from checking if a newer Bundler version is available on rubygems\.org\.
188
197
  .
189
198
  .IP "\(bu" 4
190
- \fBerror_on_stderr\fR (\fBBUNDLE_ERROR_ON_STDERR\fR): Print Bundler errors to stderr\.
191
- .
192
- .IP "\(bu" 4
193
199
  \fBforce_ruby_platform\fR (\fBBUNDLE_FORCE_RUBY_PLATFORM\fR): Ignore the current machine\'s platform and install only \fBruby\fR platform gems\. As a result, gems with native extensions will be compiled from source\.
194
200
  .
195
201
  .IP "\(bu" 4
@@ -205,9 +211,6 @@ The following is a list of all configuration keys and their purpose\. You can le
205
211
  \fBglobal_gem_cache\fR (\fBBUNDLE_GLOBAL_GEM_CACHE\fR): Whether Bundler should cache all gems globally, rather than locally to the installing Ruby installation\.
206
212
  .
207
213
  .IP "\(bu" 4
208
- \fBglobal_path_appends_ruby_scope\fR (\fBBUNDLE_GLOBAL_PATH_APPENDS_RUBY_SCOPE\fR): Whether Bundler should append the Ruby scope (e\.g\. engine and ABI version) to a globally\-configured path\.
209
- .
210
- .IP "\(bu" 4
211
214
  \fBignore_messages\fR (\fBBUNDLE_IGNORE_MESSAGES\fR): When set, no post install messages will be printed\. To silence a single gem, use dot notation like \fBignore_messages\.httparty true\fR\.
212
215
  .
213
216
  .IP "\(bu" 4
@@ -217,12 +220,6 @@ The following is a list of all configuration keys and their purpose\. You can le
217
220
  \fBjobs\fR (\fBBUNDLE_JOBS\fR): The number of gems Bundler can install in parallel\. Defaults to 1\.
218
221
  .
219
222
  .IP "\(bu" 4
220
- \fBlist_command\fR (\fBBUNDLE_LIST_COMMAND\fR) Enable new list command feature
221
- .
222
- .IP "\(bu" 4
223
- \fBmajor_deprecations\fR (\fBBUNDLE_MAJOR_DEPRECATIONS\fR): Whether Bundler should print deprecation warnings for behavior that will be changed in the next major version\.
224
- .
225
- .IP "\(bu" 4
226
223
  \fBno_install\fR (\fBBUNDLE_NO_INSTALL\fR): Whether \fBbundle package\fR should skip installing gems\.
227
224
  .
228
225
  .IP "\(bu" 4
@@ -238,13 +235,13 @@ The following is a list of all configuration keys and their purpose\. You can le
238
235
  \fBpath\.system\fR (\fBBUNDLE_PATH__SYSTEM\fR): Whether Bundler will install gems into the default system path (\fBGem\.dir\fR)\.
239
236
  .
240
237
  .IP "\(bu" 4
241
- \fBpath_relative_to_cwd\fR (\fBPATH_RELATIVE_TO_CWD\fR) Makes \fB\-\-path\fR relative to the CWD instead of the \fBGemfile\fR\.
238
+ \fBpath_relative_to_cwd\fR (\fBBUNDLE_PATH_RELATIVE_TO_CWD\fR) Makes \fB\-\-path\fR relative to the CWD instead of the \fBGemfile\fR\.
242
239
  .
243
240
  .IP "\(bu" 4
244
241
  \fBplugins\fR (\fBBUNDLE_PLUGINS\fR): Enable Bundler\'s experimental plugin system\.
245
242
  .
246
243
  .IP "\(bu" 4
247
- \fBprefer_gems_rb\fR (\fBBUNDLE_PREFER_GEMS_RB\fR) Prefer \fBgems\.rb\fR to \fBGemfile\fR when Bundler is searching for a Gemfile\.
244
+ \fBprefer_patch\fR (BUNDLE_PREFER_PATCH): Prefer updating only to next patch version during updates\. Makes \fBbundle update\fR calls equivalent to \fBbundler update \-\-patch\fR\.
248
245
  .
249
246
  .IP "\(bu" 4
250
247
  \fBprint_only_version_number\fR (\fBBUNDLE_PRINT_ONLY_VERSION_NUMBER\fR) Print only version number from \fBbundler \-\-version\fR\.
@@ -262,6 +259,9 @@ The following is a list of all configuration keys and their purpose\. You can le
262
259
  \fBshebang\fR (\fBBUNDLE_SHEBANG\fR): The program name that should be invoked for generated binstubs\. Defaults to the ruby install name used to generate the binstub\.
263
260
  .
264
261
  .IP "\(bu" 4
262
+ \fBsilence_deprecations\fR (\fBBUNDLE_SILENCE_DEPRECATIONS\fR): Whether Bundler should silence deprecation warnings for behavior that will be changed in the next major version\.
263
+ .
264
+ .IP "\(bu" 4
265
265
  \fBsilence_root_warning\fR (\fBBUNDLE_SILENCE_ROOT_WARNING\fR): Silence the warning Bundler prints when installing gems as root\.
266
266
  .
267
267
  .IP "\(bu" 4
@@ -318,7 +318,7 @@ Bundler also allows you to work against a git repository locally instead of usin
318
318
  .
319
319
  .nf
320
320
 
321
- bundle config local\.GEM_NAME /path/to/local/git/repository
321
+ bundle config set local\.GEM_NAME /path/to/local/git/repository
322
322
  .
323
323
  .fi
324
324
  .
@@ -331,7 +331,7 @@ For example, in order to use a local Rack repository, a developer could call:
331
331
  .
332
332
  .nf
333
333
 
334
- bundle config local\.rack ~/Work/git/rack
334
+ bundle config set local\.rack ~/Work/git/rack
335
335
  .
336
336
  .fi
337
337
  .
@@ -353,7 +353,7 @@ Bundler supports overriding gem sources with mirrors\. This allows you to config
353
353
  .
354
354
  .nf
355
355
 
356
- bundle config mirror\.SOURCE_URL MIRROR_URL
356
+ bundle config set mirror\.SOURCE_URL MIRROR_URL
357
357
  .
358
358
  .fi
359
359
  .
@@ -366,7 +366,7 @@ For example, to use a mirror of rubygems\.org hosted at rubygems\-mirror\.org:
366
366
  .
367
367
  .nf
368
368
 
369
- bundle config mirror\.http://rubygems\.org http://rubygems\-mirror\.org
369
+ bundle config set mirror\.http://rubygems\.org http://rubygems\-mirror\.org
370
370
  .
371
371
  .fi
372
372
  .
@@ -379,7 +379,7 @@ Each mirror also provides a fallback timeout setting\. If the mirror does not re
379
379
  .
380
380
  .nf
381
381
 
382
- bundle config mirror\.SOURCE_URL\.fallback_timeout TIMEOUT
382
+ bundle config set mirror\.SOURCE_URL\.fallback_timeout TIMEOUT
383
383
  .
384
384
  .fi
385
385
  .
@@ -392,7 +392,7 @@ For example, to fall back to rubygems\.org after 3 seconds:
392
392
  .
393
393
  .nf
394
394
 
395
- bundle config mirror\.https://rubygems\.org\.fallback_timeout 3
395
+ bundle config set mirror\.https://rubygems\.org\.fallback_timeout 3
396
396
  .
397
397
  .fi
398
398
  .
@@ -408,7 +408,7 @@ Bundler allows you to configure credentials for any gem source, which allows you
408
408
  .
409
409
  .nf
410
410
 
411
- bundle config SOURCE_HOSTNAME USERNAME:PASSWORD
411
+ bundle config set SOURCE_HOSTNAME USERNAME:PASSWORD
412
412
  .
413
413
  .fi
414
414
  .
@@ -421,7 +421,7 @@ For example, to save the credentials of user \fBclaudette\fR for the gem source
421
421
  .
422
422
  .nf
423
423
 
424
- bundle config gems\.longerous\.com claudette:s00pers3krit
424
+ bundle config set gems\.longerous\.com claudette:s00pers3krit
425
425
  .
426
426
  .fi
427
427
  .
@@ -447,7 +447,7 @@ For gems with a git source with HTTP(S) URL you can specify credentials like so:
447
447
  .
448
448
  .nf
449
449
 
450
- bundle config https://github\.com/bundler/bundler\.git username:password
450
+ bundle config set https://github\.com/bundler/bundler\.git username:password
451
451
  .
452
452
  .fi
453
453
  .