bundler 1.17.3 → 2.1.1

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 (249) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +794 -570
  3. data/LICENSE.md +18 -19
  4. data/README.md +9 -8
  5. data/bundler.gemspec +8 -25
  6. data/exe/bundle +19 -3
  7. data/lib/bundler.rb +202 -87
  8. data/lib/bundler/build_metadata.rb +3 -3
  9. data/lib/bundler/capistrano.rb +4 -4
  10. data/lib/bundler/cli.rb +178 -140
  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 +1 -1
  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 +11 -10
  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 +35 -26
  33. data/lib/bundler/dependency.rb +16 -4
  34. data/lib/bundler/deployment.rb +1 -1
  35. data/lib/bundler/dsl.rb +16 -40
  36. data/lib/bundler/env.rb +8 -13
  37. data/lib/bundler/environment_preserver.rb +0 -1
  38. data/lib/bundler/feature_flag.rb +23 -34
  39. data/lib/bundler/fetcher.rb +16 -13
  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 +5 -2
  43. data/lib/bundler/fetcher/index.rb +5 -3
  44. data/lib/bundler/friendly_errors.rb +6 -7
  45. data/lib/bundler/gem_helper.rb +40 -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 +40 -30
  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 -3
  57. data/lib/bundler/lockfile_parser.rb +14 -21
  58. data/lib/bundler/match_platform.rb +1 -1
  59. data/lib/bundler/mirror.rb +3 -3
  60. data/lib/bundler/plugin.rb +42 -29
  61. data/lib/bundler/plugin/api.rb +1 -1
  62. data/lib/bundler/plugin/api/source.rb +4 -6
  63. data/lib/bundler/plugin/index.rb +14 -3
  64. data/lib/bundler/plugin/installer.rb +28 -15
  65. data/lib/bundler/psyched_yaml.rb +1 -1
  66. data/lib/bundler/remote_specification.rb +0 -2
  67. data/lib/bundler/resolver.rb +72 -24
  68. data/lib/bundler/resolver/spec_group.rb +3 -2
  69. data/lib/bundler/retry.rb +2 -2
  70. data/lib/bundler/ruby_version.rb +4 -19
  71. data/lib/bundler/rubygems_ext.rb +11 -67
  72. data/lib/bundler/rubygems_gem_installer.rb +1 -8
  73. data/lib/bundler/rubygems_integration.rb +148 -400
  74. data/lib/bundler/runtime.rb +2 -9
  75. data/lib/bundler/settings.rb +22 -51
  76. data/lib/bundler/setup.rb +11 -12
  77. data/lib/bundler/shared_helpers.rb +51 -77
  78. data/lib/bundler/similarity_detector.rb +2 -2
  79. data/lib/bundler/source.rb +5 -5
  80. data/lib/bundler/source/git.rb +24 -17
  81. data/lib/bundler/source/git/git_proxy.rb +38 -41
  82. data/lib/bundler/source/metadata.rb +7 -2
  83. data/lib/bundler/source/path.rb +13 -8
  84. data/lib/bundler/source/rubygems.rb +14 -8
  85. data/lib/bundler/source/rubygems/remote.rb +2 -3
  86. data/lib/bundler/source_list.rb +9 -12
  87. data/lib/bundler/spec_set.rb +23 -12
  88. data/lib/bundler/stub_specification.rb +18 -30
  89. data/lib/bundler/templates/Executable.bundler +23 -14
  90. data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +3 -3
  91. data/lib/bundler/templates/newgem/Gemfile.tt +8 -2
  92. data/lib/bundler/templates/newgem/README.md.tt +4 -3
  93. data/lib/bundler/templates/newgem/newgem.gemspec.tt +6 -27
  94. data/lib/bundler/templates/newgem/test/test_helper.rb.tt +1 -1
  95. data/lib/bundler/templates/newgem/travis.yml.tt +0 -1
  96. data/lib/bundler/ui.rb +3 -3
  97. data/lib/bundler/ui/rg_proxy.rb +1 -1
  98. data/lib/bundler/ui/shell.rb +4 -8
  99. data/lib/bundler/uri_credentials_filter.rb +7 -3
  100. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +161 -0
  101. data/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +66 -0
  102. data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +176 -0
  103. data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  104. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +273 -147
  105. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +6 -6
  106. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
  107. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -1
  108. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -1
  109. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -1
  110. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -1
  111. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +6 -6
  112. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -1
  113. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -1
  114. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +30 -8
  115. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +1 -1
  116. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +4 -4
  117. data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +2 -2
  118. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +273 -304
  119. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +40 -0
  120. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +53 -0
  121. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  122. data/lib/bundler/vendor/thor/lib/thor.rb +19 -4
  123. data/lib/bundler/vendor/thor/lib/thor/actions.rb +27 -12
  124. data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -1
  125. data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -1
  126. data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +7 -17
  127. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +16 -7
  128. data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +19 -8
  129. data/lib/bundler/vendor/thor/lib/thor/base.rb +54 -43
  130. data/lib/bundler/vendor/thor/lib/thor/command.rb +21 -14
  131. data/lib/bundler/vendor/thor/lib/thor/error.rb +78 -0
  132. data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
  133. data/lib/bundler/vendor/thor/lib/thor/invocation.rb +1 -0
  134. data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
  135. data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +1 -1
  136. data/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +6 -6
  137. data/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  138. data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
  139. data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +2 -2
  140. data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +20 -7
  141. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +20 -5
  142. data/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +1 -0
  143. data/lib/bundler/vendor/thor/lib/thor/runner.rb +15 -14
  144. data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
  145. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +62 -8
  146. data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +6 -2
  147. data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +3 -3
  148. data/lib/bundler/vendor/thor/lib/thor/util.rb +18 -2
  149. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  150. data/lib/bundler/vendor/uri/lib/uri.rb +104 -0
  151. data/lib/bundler/vendor/uri/lib/uri/common.rb +744 -0
  152. data/lib/bundler/vendor/uri/lib/uri/file.rb +94 -0
  153. data/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  154. data/lib/bundler/vendor/uri/lib/uri/generic.rb +1568 -0
  155. data/lib/bundler/vendor/uri/lib/uri/http.rb +88 -0
  156. data/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
  157. data/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  158. data/lib/bundler/vendor/uri/lib/uri/ldaps.rb +21 -0
  159. data/lib/bundler/vendor/uri/lib/uri/mailto.rb +294 -0
  160. data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  161. data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +125 -0
  162. data/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
  163. data/lib/bundler/vendored_fileutils.rb +1 -6
  164. data/lib/bundler/vendored_molinillo.rb +1 -1
  165. data/lib/bundler/vendored_persistent.rb +7 -5
  166. data/lib/bundler/vendored_thor.rb +2 -2
  167. data/lib/bundler/vendored_uri.rb +4 -0
  168. data/lib/bundler/version.rb +1 -20
  169. data/lib/bundler/version_ranges.rb +51 -5
  170. data/lib/bundler/vlad.rb +2 -2
  171. data/lib/bundler/worker.rb +1 -3
  172. data/lib/bundler/yaml_serializer.rb +2 -3
  173. data/man/bundle-add.1 +10 -2
  174. data/man/bundle-add.1.txt +11 -5
  175. data/man/bundle-add.ronn +7 -1
  176. data/man/bundle-binstubs.1 +2 -2
  177. data/man/bundle-binstubs.1.txt +2 -2
  178. data/man/bundle-binstubs.ronn +1 -1
  179. data/man/bundle-cache.1 +55 -0
  180. data/man/bundle-cache.1.txt +78 -0
  181. data/man/{bundle-package.ronn → bundle-cache.ronn} +15 -15
  182. data/man/bundle-check.1 +1 -1
  183. data/man/bundle-check.1.txt +6 -6
  184. data/man/bundle-clean.1 +1 -1
  185. data/man/bundle-clean.1.txt +1 -1
  186. data/man/bundle-config.1 +36 -36
  187. data/man/bundle-config.1.txt +66 -67
  188. data/man/bundle-config.ronn +42 -40
  189. data/man/bundle-doctor.1 +1 -1
  190. data/man/bundle-doctor.1.txt +1 -1
  191. data/man/bundle-exec.1 +2 -2
  192. data/man/bundle-exec.1.txt +2 -2
  193. data/man/bundle-exec.ronn +1 -1
  194. data/man/bundle-gem.1 +1 -1
  195. data/man/bundle-gem.1.txt +3 -3
  196. data/man/bundle-info.1 +1 -1
  197. data/man/bundle-info.1.txt +1 -1
  198. data/man/bundle-init.1 +2 -2
  199. data/man/bundle-init.1.txt +2 -2
  200. data/man/bundle-init.ronn +1 -1
  201. data/man/bundle-inject.1 +1 -1
  202. data/man/bundle-inject.1.txt +1 -1
  203. data/man/bundle-install.1 +8 -5
  204. data/man/bundle-install.1.txt +56 -51
  205. data/man/bundle-install.ronn +9 -4
  206. data/man/bundle-list.1 +1 -1
  207. data/man/bundle-list.1.txt +1 -1
  208. data/man/bundle-lock.1 +1 -1
  209. data/man/bundle-lock.1.txt +16 -16
  210. data/man/bundle-open.1 +1 -1
  211. data/man/bundle-open.1.txt +1 -1
  212. data/man/bundle-outdated.1 +1 -1
  213. data/man/bundle-outdated.1.txt +1 -1
  214. data/man/bundle-platform.1 +1 -1
  215. data/man/bundle-platform.1.txt +1 -1
  216. data/man/bundle-pristine.1 +1 -1
  217. data/man/bundle-pristine.1.txt +1 -1
  218. data/man/bundle-remove.1 +1 -1
  219. data/man/bundle-remove.1.txt +1 -1
  220. data/man/bundle-show.1 +1 -1
  221. data/man/bundle-show.1.txt +1 -1
  222. data/man/bundle-update.1 +4 -4
  223. data/man/bundle-update.1.txt +64 -65
  224. data/man/bundle-update.ronn +3 -3
  225. data/man/bundle-viz.1 +1 -1
  226. data/man/bundle-viz.1.txt +1 -1
  227. data/man/bundle.1 +3 -3
  228. data/man/bundle.1.txt +8 -8
  229. data/man/bundle.ronn +2 -2
  230. data/man/gemfile.5 +17 -20
  231. data/man/gemfile.5.ronn +14 -18
  232. data/man/gemfile.5.txt +108 -112
  233. data/man/index.txt +1 -1
  234. metadata +34 -110
  235. data/exe/bundle_ruby +0 -60
  236. data/lib/bundler/cli/package.rb +0 -49
  237. data/lib/bundler/compatibility_guard.rb +0 -14
  238. data/lib/bundler/gem_remote_fetcher.rb +0 -43
  239. data/lib/bundler/ssl_certs/.document +0 -1
  240. data/lib/bundler/ssl_certs/certificate_manager.rb +0 -66
  241. data/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +0 -21
  242. data/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
  243. data/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
  244. data/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +0 -27
  245. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +0 -129
  246. data/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +0 -12
  247. data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +0 -129
  248. data/man/bundle-package.1 +0 -55
  249. data/man/bundle-package.1.txt +0 -79
@@ -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\-DOCTOR" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-DOCTOR" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-doctor\fR \- Checks the bundle for common problems
@@ -41,4 +41,4 @@ OPTIONS
41
41
 
42
42
 
43
43
 
44
- November 2018 BUNDLE-DOCTOR(1)
44
+ December 2019 BUNDLE-DOCTOR(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\-EXEC" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-EXEC" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-exec\fR \- Execute a command in the context of the bundle
@@ -155,7 +155,7 @@ You can find a list of all the gems containing gem plugins by running
155
155
  .
156
156
  .nf
157
157
 
158
- ruby \-rubygems \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
158
+ ruby \-rrubygems \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
159
159
  .
160
160
  .fi
161
161
  .
@@ -165,7 +165,7 @@ RUBYGEMS PLUGINS
165
165
 
166
166
 
167
167
 
168
- ruby -rubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
168
+ ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
169
169
 
170
170
 
171
171
 
@@ -175,4 +175,4 @@ RUBYGEMS PLUGINS
175
175
 
176
176
 
177
177
 
178
- November 2018 BUNDLE-EXEC(1)
178
+ December 2019 BUNDLE-EXEC(1)
@@ -145,7 +145,7 @@ their plugins.
145
145
  You can find a list of all the gems containing gem plugins
146
146
  by running
147
147
 
148
- ruby -rubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
148
+ ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
149
149
 
150
150
  At the very least, you should remove all but the newest
151
151
  version of each gem plugin, and also remove all gem plugins
@@ -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\-GEM" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-GEM" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
@@ -77,8 +77,8 @@ OPTIONS
77
77
 
78
78
  -e, --edit[=EDITOR]
79
79
  Open the resulting GEM_NAME.gemspec in EDITOR, or the default
80
- editor if not specified. The default is $BUNDLER_EDITOR,
81
- $VISUAL, or $EDITOR.
80
+ editor if not specified. The default is $BUNDLER_EDITOR, $VIS-
81
+ UAL, or $EDITOR.
82
82
 
83
83
  SEE ALSO
84
84
  o bundle config(1) bundle-config.1.html
@@ -88,4 +88,4 @@ SEE ALSO
88
88
 
89
89
 
90
90
 
91
- November 2018 BUNDLE-GEM(1)
91
+ December 2019 BUNDLE-GEM(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\-INFO" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-INFO" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-info\fR \- Show information for the given gem in your bundle
@@ -18,4 +18,4 @@ OPTIONS
18
18
 
19
19
 
20
20
 
21
- November 2018 BUNDLE-INFO(1)
21
+ December 2019 BUNDLE-INFO(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\-INIT" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-INIT" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-init\fR \- Generates a Gemfile into the current working directory
@@ -22,4 +22,4 @@ Use the specified \.gemspec to create the [\fBGemfile(5)\fR][Gemfile(5)]
22
22
  Included in the default [\fBGemfile(5)\fR][Gemfile(5)] generated is the line \fB# frozen_string_literal: true\fR\. This is a magic comment supported for the first time in Ruby 2\.3\. The presence of this line results in all string literals in the file being implicitly frozen\.
23
23
  .
24
24
  .SH "SEE ALSO"
25
- Gemfile(5) \fIhttp://bundler\.io/man/gemfile\.5\.html\fR
25
+ Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR
@@ -27,8 +27,8 @@ FILES
27
27
  string literals in the file being implicitly frozen.
28
28
 
29
29
  SEE ALSO
30
- Gemfile(5) http://bundler.io/man/gemfile.5.html
30
+ Gemfile(5) https://bundler.io/man/gemfile.5.html
31
31
 
32
32
 
33
33
 
34
- November 2018 BUNDLE-INIT(1)
34
+ December 2019 BUNDLE-INIT(1)
@@ -26,4 +26,4 @@ results in all string literals in the file being implicitly frozen.
26
26
 
27
27
  ## SEE ALSO
28
28
 
29
- [Gemfile(5)](http://bundler.io/man/gemfile.5.html)
29
+ [Gemfile(5)](https://bundler.io/man/gemfile.5.html)
@@ -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\-INJECT" "1" "November 2018" "" ""
4
+ .TH "BUNDLE\-INJECT" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
@@ -29,4 +29,4 @@ DESCRIPTION
29
29
 
30
30
 
31
31
 
32
- November 2018 BUNDLE-INJECT(1)
32
+ December 2019 BUNDLE-INJECT(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\-INSTALL" "1" "December 2018" "" ""
4
+ .TH "BUNDLE\-INSTALL" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
8
8
  .
9
9
  .SH "SYNOPSIS"
10
- \fBbundle install\fR [\-\-binstubs[=DIRECTORY]] [\-\-clean] [\-\-deployment] [\-\-force] [\-\-frozen] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-no\-cache] [\-\-no\-prune] [\-\-path PATH] [\-\-quiet] [\-\-retry=NUMBER] [\-\-shebang] [\-\-standalone[=GROUP[ GROUP\.\.\.]]] [\-\-system] [\-\-trust\-policy=POLICY] [\-\-with=GROUP[ GROUP\.\.\.]] [\-\-without=GROUP[ GROUP\.\.\.]]
10
+ \fBbundle install\fR [\-\-binstubs[=DIRECTORY]] [\-\-clean] [\-\-deployment] [\-\-frozen] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-no\-cache] [\-\-no\-prune] [\-\-path PATH] [\-\-quiet] [\-\-redownload] [\-\-retry=NUMBER] [\-\-shebang] [\-\-standalone[=GROUP[ GROUP\.\.\.]]] [\-\-system] [\-\-trust\-policy=POLICY] [\-\-with=GROUP[ GROUP\.\.\.]] [\-\-without=GROUP[ GROUP\.\.\.]]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
13
  Install the gems specified in your Gemfile(5)\. If this is the first time you run bundle install (and a \fBGemfile\.lock\fR does not exist), Bundler will fetch all remote sources, resolve dependencies and install all needed gems\.
@@ -23,7 +23,10 @@ To apply any of \fB\-\-binstubs\fR, \fB\-\-deployment\fR, \fB\-\-path\fR, or \fB
23
23
  .
24
24
  .TP
25
25
  \fB\-\-binstubs[=<directory>]\fR
26
- Creates a directory (defaults to \fB~/bin\fR) and place any executables from the gem there\. These executables run in Bundler\'s context\. If used, you might add this directory to your environment\'s \fBPATH\fR variable\. For instance, if the \fBrails\fR gem comes with a \fBrails\fR executable, this flag will create a \fBbin/rails\fR executable that ensures that all referred dependencies will be resolved using the bundled gems\.
26
+ Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it in \fBbin/\fR\. This lets you link the binstub inside of an application to the exact gem version the application needs\.
27
+ .
28
+ .IP
29
+ Creates a directory (defaults to \fB~/bin\fR) and places any executables from the gem there\. These executables run in Bundler\'s context\. If used, you might add this directory to your environment\'s \fBPATH\fR variable\. For instance, if the \fBrails\fR gem comes with a \fBrails\fR executable, this flag will create a \fBbin/rails\fR executable that ensures that all referred dependencies will be resolved using the bundled gems\.
27
30
  .
28
31
  .TP
29
32
  \fB\-\-clean\fR
@@ -34,8 +37,8 @@ On finishing the installation Bundler is going to remove any gems not present in
34
37
  In \fIdeployment mode\fR, Bundler will \'roll\-out\' the bundle for production or CI use\. Please check carefully if you want to have this option enabled in your development environment\.
35
38
  .
36
39
  .TP
37
- \fB\-\-force\fR
38
- Force download every gem, even if the required versions are already available locally\. \fB\-\-redownload\fR is an alias of this option\.
40
+ \fB\-\-redownload\fR
41
+ Force download every gem, even if the required versions are already available locally\.
39
42
  .
40
43
  .TP
41
44
  \fB\-\-frozen\fR
@@ -7,8 +7,8 @@ NAME
7
7
 
8
8
  SYNOPSIS
9
9
  bundle install [--binstubs[=DIRECTORY]] [--clean] [--deployment]
10
- [--force] [--frozen] [--full-index] [--gemfile=GEMFILE] [--jobs=NUMBER]
11
- [--local] [--no-cache] [--no-prune] [--path PATH] [--quiet]
10
+ [--frozen] [--full-index] [--gemfile=GEMFILE] [--jobs=NUMBER] [--local]
11
+ [--no-cache] [--no-prune] [--path PATH] [--quiet] [--redownload]
12
12
  [--retry=NUMBER] [--shebang] [--standalone[=GROUP[ GROUP...]]] [--sys-
13
13
  tem] [--trust-policy=POLICY] [--with=GROUP[ GROUP...]] [--with-
14
14
  out=GROUP[ GROUP...]]
@@ -34,7 +34,13 @@ OPTIONS
34
34
  time bundle install is run, use bundle config (see bundle-config(1)).
35
35
 
36
36
  --binstubs[=<directory>]
37
- Creates a directory (defaults to ~/bin) and place any executa-
37
+ Binstubs are scripts that wrap around executables. Bundler cre-
38
+ ates a small Ruby file (a binstub) that loads Bundler, runs the
39
+ command, and puts it in bin/. This lets you link the binstub
40
+ inside of an application to the exact gem version the applica-
41
+ tion needs.
42
+
43
+ Creates a directory (defaults to ~/bin) and places any executa-
38
44
  bles from the gem there. These executables run in Bundler's con-
39
45
  text. If used, you might add this directory to your environ-
40
46
  ment's PATH variable. For instance, if the rails gem comes with
@@ -52,58 +58,57 @@ OPTIONS
52
58
  duction or CI use. Please check carefully if you want to have
53
59
  this option enabled in your development environment.
54
60
 
55
- --force
61
+ --redownload
56
62
  Force download every gem, even if the required versions are
57
- already available locally. --redownload is an alias of this
58
- option.
63
+ already available locally.
59
64
 
60
65
  --frozen
61
- Do not allow the Gemfile.lock to be updated after this install.
62
- Exits non-zero if there are going to be changes to the Gem-
66
+ Do not allow the Gemfile.lock to be updated after this install.
67
+ Exits non-zero if there are going to be changes to the Gem-
63
68
  file.lock.
64
69
 
65
70
  --full-index
66
71
  Bundler will not call Rubygems' API endpoint (default) but down-
67
72
  load and cache a (currently big) index file of all gems. Perfor-
68
- mance can be improved for large bundles that seldom change by
73
+ mance can be improved for large bundles that seldom change by
69
74
  enabling this option.
70
75
 
71
76
  --gemfile=<gemfile>
72
- The location of the Gemfile(5) which Bundler should use. This
73
- defaults to a Gemfile(5) in the current working directory. In
77
+ The location of the Gemfile(5) which Bundler should use. This
78
+ defaults to a Gemfile(5) in the current working directory. In
74
79
  general, Bundler will assume that the location of the Gemfile(5)
75
80
  is also the project's root and will try to find Gemfile.lock and
76
81
  vendor/cache relative to this location.
77
82
 
78
83
  --jobs=[<number>], -j[<number>]
79
- The maximum number of parallel download and install jobs. The
84
+ The maximum number of parallel download and install jobs. The
80
85
  default is 1.
81
86
 
82
87
  --local
83
88
  Do not attempt to connect to rubygems.org. Instead, Bundler will
84
- use the gems already present in Rubygems' cache or in ven-
85
- dor/cache. Note that if a appropriate platform-specific gem
89
+ use the gems already present in Rubygems' cache or in ven-
90
+ dor/cache. Note that if a appropriate platform-specific gem
86
91
  exists on rubygems.org it will not be found.
87
92
 
88
93
  --no-cache
89
- Do not update the cache in vendor/cache with the newly bundled
90
- gems. This does not remove any gems in the cache but keeps the
94
+ Do not update the cache in vendor/cache with the newly bundled
95
+ gems. This does not remove any gems in the cache but keeps the
91
96
  newly bundled gems from being cached during the install.
92
97
 
93
98
  --no-prune
94
- Don't remove stale gems from the cache when the installation
99
+ Don't remove stale gems from the cache when the installation
95
100
  finishes.
96
101
 
97
102
  --path=<path>
98
- The location to install the specified gems to. This defaults to
99
- Rubygems' setting. Bundler shares this location with Rubygems,
100
- gem install ... will have gem installed there, too. Therefore,
101
- gems installed without a --path ... setting will show up by
103
+ The location to install the specified gems to. This defaults to
104
+ Rubygems' setting. Bundler shares this location with Rubygems,
105
+ gem install ... will have gem installed there, too. Therefore,
106
+ gems installed without a --path ... setting will show up by
102
107
  calling gem list. Accordingly, gems installed to other locations
103
108
  will not get listed.
104
109
 
105
110
  --quiet
106
- Do not print progress information to the standard output.
111
+ Do not print progress information to the standard output.
107
112
  Instead, Bundler will exit using a status code ($?).
108
113
 
109
114
  --retry=[<number>]
@@ -111,34 +116,34 @@ OPTIONS
111
116
 
112
117
  --shebang=<ruby-executable>
113
118
  Uses the specified ruby executable (usually ruby) to execute the
114
- scripts created with --binstubs. In addition, if you use --bin-
115
- stubs together with --shebang jruby these executables will be
119
+ scripts created with --binstubs. In addition, if you use --bin-
120
+ stubs together with --shebang jruby these executables will be
116
121
  changed to execute jruby instead.
117
122
 
118
123
  --standalone[=<list>]
119
- Makes a bundle that can work without depending on Rubygems or
120
- Bundler at runtime. A space separated list of groups to install
121
- has to be specified. Bundler creates a directory named bundle
124
+ Makes a bundle that can work without depending on Rubygems or
125
+ Bundler at runtime. A space separated list of groups to install
126
+ has to be specified. Bundler creates a directory named bundle
122
127
  and installs the bundle there. It also generates a bun-
123
- dle/bundler/setup.rb file to replace Bundler's own setup in the
124
- manner required. Using this option implicitly sets path, which
128
+ dle/bundler/setup.rb file to replace Bundler's own setup in the
129
+ manner required. Using this option implicitly sets path, which
125
130
  is a [remembered option][REMEMBERED OPTIONS].
126
131
 
127
132
  --system
128
- Installs the gems specified in the bundle to the system's
129
- Rubygems location. This overrides any previous configuration of
133
+ Installs the gems specified in the bundle to the system's
134
+ Rubygems location. This overrides any previous configuration of
130
135
  --path.
131
136
 
132
137
  --trust-policy=[<policy>]
133
- Apply the Rubygems security policy policy, where policy is one
134
- of HighSecurity, MediumSecurity, LowSecurity, AlmostNoSecurity,
138
+ Apply the Rubygems security policy policy, where policy is one
139
+ of HighSecurity, MediumSecurity, LowSecurity, AlmostNoSecurity,
135
140
  or NoSecurity. For more details, please see the Rubygems signing
136
141
  documentation linked below in SEE ALSO.
137
142
 
138
143
  --with=<list>
139
144
  A space-separated list of groups referencing gems to install. If
140
- an optional group is given it is installed. If a group is given
141
- that is in the remembered list of groups given to --without, it
145
+ an optional group is given it is installed. If a group is given
146
+ that is in the remembered list of groups given to --without, it
142
147
  is removed from that list.
143
148
 
144
149
  --without=<list>
@@ -148,47 +153,47 @@ OPTIONS
148
153
 
149
154
  DEPLOYMENT MODE
150
155
  Bundler's defaults are optimized for development. To switch to defaults
151
- optimized for deployment and for CI, use the --deployment flag. Do not
152
- activate deployment mode on development machines, as it will cause an
156
+ optimized for deployment and for CI, use the --deployment flag. Do not
157
+ activate deployment mode on development machines, as it will cause an
153
158
  error when the Gemfile(5) is modified.
154
159
 
155
160
  1. A Gemfile.lock is required.
156
161
 
157
162
  To ensure that the same versions of the gems you developed with and
158
- tested with are also used in deployments, a Gemfile.lock is
163
+ tested with are also used in deployments, a Gemfile.lock is
159
164
  required.
160
165
 
161
- This is mainly to ensure that you remember to check your Gem-
166
+ This is mainly to ensure that you remember to check your Gem-
162
167
  file.lock into version control.
163
168
 
164
169
  2. The Gemfile.lock must be up to date
165
170
 
166
- In development, you can modify your Gemfile(5) and re-run bundle
171
+ In development, you can modify your Gemfile(5) and re-run bundle
167
172
  install to conservatively update your Gemfile.lock snapshot.
168
173
 
169
- In deployment, your Gemfile.lock should be up-to-date with changes
174
+ In deployment, your Gemfile.lock should be up-to-date with changes
170
175
  made in your Gemfile(5).
171
176
 
172
- 3. Gems are installed to vendor/bundle not your default system loca-
177
+ 3. Gems are installed to vendor/bundle not your default system loca-
173
178
  tion
174
179
 
175
- In development, it's convenient to share the gems used in your
176
- application with other applications and other scripts that run on
180
+ In development, it's convenient to share the gems used in your
181
+ application with other applications and other scripts that run on
177
182
  the system.
178
183
 
179
- In deployment, isolation is a more important default. In addition,
180
- the user deploying the application may not have permission to
181
- install gems to the system, or the web server may not have permis-
184
+ In deployment, isolation is a more important default. In addition,
185
+ the user deploying the application may not have permission to
186
+ install gems to the system, or the web server may not have permis-
182
187
  sion to read them.
183
188
 
184
- As a result, bundle install --deployment installs gems to the ven-
185
- dor/bundle directory in the application. This may be overridden
189
+ As a result, bundle install --deployment installs gems to the ven-
190
+ dor/bundle directory in the application. This may be overridden
186
191
  using the --path option.
187
192
 
188
193
 
189
194
 
190
195
  SUDO USAGE
191
- By default, Bundler installs gems to the same location as gem install.
196
+ By default, Bundler installs gems to the same location as gem install.
192
197
 
193
198
  In some cases, that location may not be writable by your Unix user. In
194
199
  that case, Bundler will stage everything in a temporary directory, then
@@ -393,4 +398,4 @@ SEE ALSO
393
398
 
394
399
 
395
400
 
396
- December 2018 BUNDLE-INSTALL(1)
401
+ December 2019 BUNDLE-INSTALL(1)
@@ -6,7 +6,6 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
6
6
  `bundle install` [--binstubs[=DIRECTORY]]
7
7
  [--clean]
8
8
  [--deployment]
9
- [--force]
10
9
  [--frozen]
11
10
  [--full-index]
12
11
  [--gemfile=GEMFILE]
@@ -16,6 +15,7 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
16
15
  [--no-prune]
17
16
  [--path PATH]
18
17
  [--quiet]
18
+ [--redownload]
19
19
  [--retry=NUMBER]
20
20
  [--shebang]
21
21
  [--standalone[=GROUP[ GROUP...]]]
@@ -47,7 +47,12 @@ To apply any of `--binstubs`, `--deployment`, `--path`, or `--without` every
47
47
  time `bundle install` is run, use `bundle config` (see bundle-config(1)).
48
48
 
49
49
  * `--binstubs[=<directory>]`:
50
- Creates a directory (defaults to `~/bin`) and place any executables from the
50
+ Binstubs are scripts that wrap around executables. Bundler creates a small Ruby
51
+ file (a binstub) that loads Bundler, runs the command, and puts it in `bin/`.
52
+ This lets you link the binstub inside of an application to the exact gem
53
+ version the application needs.
54
+
55
+ Creates a directory (defaults to `~/bin`) and places any executables from the
51
56
  gem there. These executables run in Bundler's context. If used, you might add
52
57
  this directory to your environment's `PATH` variable. For instance, if the
53
58
  `rails` gem comes with a `rails` executable, this flag will create a
@@ -64,9 +69,9 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
64
69
  production or CI use. Please check carefully if you want to have this option
65
70
  enabled in your development environment.
66
71
 
67
- * `--force`:
72
+ * `--redownload`:
68
73
  Force download every gem, even if the required versions are already available
69
- locally. `--redownload` is an alias of this option.
74
+ locally.
70
75
 
71
76
  * `--frozen`:
72
77
  Do not allow the Gemfile.lock to be updated after this install. Exits