bundler 1.15.4 → 1.16.0.pre.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 (251) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +43 -0
  3. data/README.md +12 -7
  4. data/exe/bundle +1 -1
  5. data/exe/bundle_ruby +4 -3
  6. data/lib/bundler.rb +47 -37
  7. data/lib/bundler/build_metadata.rb +38 -0
  8. data/lib/bundler/capistrano.rb +5 -0
  9. data/lib/bundler/cli.rb +155 -67
  10. data/lib/bundler/cli/add.rb +0 -1
  11. data/lib/bundler/cli/binstubs.rb +9 -7
  12. data/lib/bundler/cli/cache.rb +5 -4
  13. data/lib/bundler/cli/check.rb +3 -5
  14. data/lib/bundler/cli/clean.rb +5 -6
  15. data/lib/bundler/cli/common.rb +11 -2
  16. data/lib/bundler/cli/config.rb +2 -1
  17. data/lib/bundler/cli/console.rb +2 -1
  18. data/lib/bundler/cli/doctor.rb +1 -0
  19. data/lib/bundler/cli/exec.rb +2 -1
  20. data/lib/bundler/cli/gem.rb +3 -2
  21. data/lib/bundler/cli/info.rb +0 -1
  22. data/lib/bundler/cli/init.rb +17 -6
  23. data/lib/bundler/cli/inject.rb +1 -0
  24. data/lib/bundler/cli/install.rb +61 -61
  25. data/lib/bundler/cli/issue.rb +1 -1
  26. data/lib/bundler/cli/list.rb +22 -0
  27. data/lib/bundler/cli/lock.rb +0 -1
  28. data/lib/bundler/cli/open.rb +2 -2
  29. data/lib/bundler/cli/outdated.rb +13 -8
  30. data/lib/bundler/cli/package.rb +9 -6
  31. data/lib/bundler/cli/platform.rb +1 -0
  32. data/lib/bundler/cli/plugin.rb +1 -0
  33. data/lib/bundler/cli/pristine.rb +9 -2
  34. data/lib/bundler/cli/show.rb +0 -1
  35. data/lib/bundler/cli/update.rb +31 -5
  36. data/lib/bundler/cli/viz.rb +1 -0
  37. data/lib/bundler/compact_index_client.rb +1 -0
  38. data/lib/bundler/compact_index_client/cache.rb +1 -0
  39. data/lib/bundler/compact_index_client/updater.rb +3 -2
  40. data/lib/bundler/compatibility_guard.rb +14 -0
  41. data/lib/bundler/constants.rb +1 -0
  42. data/lib/bundler/current_ruby.rb +5 -4
  43. data/lib/bundler/definition.rb +140 -95
  44. data/lib/bundler/dep_proxy.rb +2 -0
  45. data/lib/bundler/dependency.rb +6 -7
  46. data/lib/bundler/deployment.rb +1 -1
  47. data/lib/bundler/deprecate.rb +1 -0
  48. data/lib/bundler/dsl.rb +97 -62
  49. data/lib/bundler/endpoint_specification.rb +9 -0
  50. data/lib/bundler/env.rb +63 -27
  51. data/lib/bundler/environment_preserver.rb +26 -6
  52. data/lib/bundler/errors.rb +1 -0
  53. data/lib/bundler/feature_flag.rb +39 -4
  54. data/lib/bundler/fetcher.rb +15 -8
  55. data/lib/bundler/fetcher/base.rb +1 -0
  56. data/lib/bundler/fetcher/compact_index.rb +2 -11
  57. data/lib/bundler/fetcher/dependency.rb +1 -0
  58. data/lib/bundler/fetcher/downloader.rb +1 -0
  59. data/lib/bundler/fetcher/index.rb +1 -0
  60. data/lib/bundler/friendly_errors.rb +2 -1
  61. data/lib/bundler/gem_helper.rb +14 -9
  62. data/lib/bundler/gem_helpers.rb +1 -0
  63. data/lib/bundler/gem_remote_fetcher.rb +1 -0
  64. data/lib/bundler/gem_tasks.rb +1 -0
  65. data/lib/bundler/gem_version_promoter.rb +1 -0
  66. data/lib/bundler/gemdeps.rb +1 -0
  67. data/lib/bundler/graph.rb +1 -0
  68. data/lib/bundler/index.rb +15 -8
  69. data/lib/bundler/injector.rb +25 -22
  70. data/lib/bundler/inline.rb +5 -7
  71. data/lib/bundler/installer.rb +93 -45
  72. data/lib/bundler/installer/gem_installer.rb +2 -0
  73. data/lib/bundler/installer/parallel_installer.rb +73 -42
  74. data/lib/bundler/installer/standalone.rb +1 -0
  75. data/lib/bundler/lazy_specification.rb +2 -1
  76. data/lib/bundler/lockfile_generator.rb +95 -0
  77. data/lib/bundler/lockfile_parser.rb +10 -4
  78. data/lib/bundler/match_platform.rb +1 -0
  79. data/lib/bundler/mirror.rb +6 -3
  80. data/lib/bundler/plugin.rb +1 -0
  81. data/lib/bundler/plugin/api/source.rb +8 -0
  82. data/lib/bundler/plugin/installer.rb +7 -6
  83. data/lib/bundler/plugin/source_list.rb +7 -8
  84. data/lib/bundler/process_lock.rb +24 -0
  85. data/lib/bundler/psyched_yaml.rb +1 -0
  86. data/lib/bundler/remote_specification.rb +1 -0
  87. data/lib/bundler/resolver.rb +138 -191
  88. data/lib/bundler/resolver/spec_group.rb +111 -0
  89. data/lib/bundler/retry.rb +1 -0
  90. data/lib/bundler/ruby_dsl.rb +1 -0
  91. data/lib/bundler/ruby_version.rb +1 -0
  92. data/lib/bundler/rubygems_ext.rb +5 -4
  93. data/lib/bundler/rubygems_gem_installer.rb +23 -0
  94. data/lib/bundler/rubygems_integration.rb +56 -27
  95. data/lib/bundler/runtime.rb +3 -5
  96. data/lib/bundler/settings.rb +177 -76
  97. data/lib/bundler/settings/validator.rb +79 -0
  98. data/lib/bundler/setup.rb +1 -0
  99. data/lib/bundler/shared_helpers.rb +86 -26
  100. data/lib/bundler/similarity_detector.rb +1 -0
  101. data/lib/bundler/source.rb +32 -0
  102. data/lib/bundler/source/gemspec.rb +1 -0
  103. data/lib/bundler/source/git.rb +21 -16
  104. data/lib/bundler/source/git/git_proxy.rb +14 -10
  105. data/lib/bundler/source/metadata.rb +63 -0
  106. data/lib/bundler/source/path.rb +8 -8
  107. data/lib/bundler/source/path/installer.rb +2 -0
  108. data/lib/bundler/source/rubygems.rb +131 -84
  109. data/lib/bundler/source/rubygems/remote.rb +3 -0
  110. data/lib/bundler/source_list.rb +75 -15
  111. data/lib/bundler/spec_set.rb +2 -1
  112. data/lib/bundler/ssl_certs/certificate_manager.rb +2 -1
  113. data/lib/bundler/stub_specification.rb +1 -0
  114. data/lib/bundler/templates/Executable +4 -0
  115. data/lib/bundler/templates/Executable.bundler +105 -0
  116. data/lib/bundler/templates/Gemfile +1 -0
  117. data/lib/bundler/templates/gems.rb +8 -0
  118. data/lib/bundler/templates/newgem/README.md.tt +1 -1
  119. data/lib/bundler/templates/newgem/gitignore.tt +0 -1
  120. data/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -1
  121. data/lib/bundler/templates/newgem/rspec.tt +1 -0
  122. data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -2
  123. data/lib/bundler/ui.rb +1 -0
  124. data/lib/bundler/ui/rg_proxy.rb +1 -0
  125. data/lib/bundler/ui/shell.rb +15 -4
  126. data/lib/bundler/ui/silent.rb +1 -0
  127. data/lib/bundler/uri_credentials_filter.rb +1 -0
  128. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
  129. data/lib/bundler/vendor/molinillo/lib/molinillo.rb +2 -0
  130. data/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
  131. data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +7 -0
  132. data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +1 -0
  133. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +3 -2
  134. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +1 -0
  135. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -0
  136. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -0
  137. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -0
  138. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -0
  139. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +1 -0
  140. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -0
  141. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -0
  142. data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +3 -2
  143. data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +69 -6
  144. data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  145. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +1 -0
  146. data/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +3 -1
  147. data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +487 -148
  148. data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +1 -0
  149. data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +8 -4
  150. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1 -1
  151. data/lib/bundler/vendored_fileutils.rb +9 -0
  152. data/lib/bundler/vendored_molinillo.rb +1 -0
  153. data/lib/bundler/vendored_persistent.rb +34 -0
  154. data/lib/bundler/vendored_thor.rb +1 -0
  155. data/lib/bundler/version.rb +6 -2
  156. data/lib/bundler/version_ranges.rb +1 -0
  157. data/lib/bundler/vlad.rb +5 -0
  158. data/lib/bundler/worker.rb +1 -0
  159. data/lib/bundler/yaml_serializer.rb +3 -3
  160. data/man/bundle-add.1 +43 -0
  161. data/man/bundle-add.1.txt +40 -0
  162. data/man/bundle-binstubs.1 +40 -0
  163. data/man/bundle-binstubs.1.txt +48 -0
  164. data/man/bundle-binstubs.ronn +14 -0
  165. data/man/bundle-check.1 +31 -0
  166. data/man/bundle-check.1.txt +32 -0
  167. data/man/bundle-clean.1 +24 -0
  168. data/man/bundle-clean.1.txt +26 -0
  169. data/man/bundle-config.1 +455 -0
  170. data/man/bundle-config.1.txt +491 -0
  171. data/man/bundle-config.ronn +133 -79
  172. data/man/bundle-exec.1 +165 -0
  173. data/man/bundle-exec.1.txt +178 -0
  174. data/man/bundle-exec.ronn +7 -0
  175. data/man/bundle-gem.1 +80 -0
  176. data/man/bundle-gem.1.txt +91 -0
  177. data/man/bundle-gem.ronn +2 -1
  178. data/man/bundle-info.1 +20 -0
  179. data/man/bundle-info.1.txt +21 -0
  180. data/man/bundle-init.1 +20 -0
  181. data/man/bundle-init.1.txt +24 -0
  182. data/man/bundle-inject.1 +33 -0
  183. data/man/bundle-inject.1.txt +32 -0
  184. data/man/bundle-install.1 +305 -0
  185. data/man/bundle-install.1.txt +385 -0
  186. data/man/bundle-install.ronn +32 -32
  187. data/man/bundle-list.1 +20 -0
  188. data/man/bundle-list.1.txt +21 -0
  189. data/man/bundle-list.ronn +15 -0
  190. data/man/bundle-lock.1 +84 -0
  191. data/man/bundle-lock.1.txt +93 -0
  192. data/man/bundle-open.1 +32 -0
  193. data/man/bundle-open.1.txt +29 -0
  194. data/man/bundle-outdated.1 +151 -0
  195. data/man/bundle-outdated.1.txt +127 -0
  196. data/man/bundle-outdated.ronn +1 -1
  197. data/man/bundle-package.1 +55 -0
  198. data/man/bundle-package.1.txt +79 -0
  199. data/man/bundle-package.ronn +5 -0
  200. data/man/bundle-platform.1 +61 -0
  201. data/man/bundle-platform.1.txt +57 -0
  202. data/man/bundle-pristine.1 +34 -0
  203. data/man/bundle-pristine.1.txt +44 -0
  204. data/man/bundle-pristine.ronn +24 -3
  205. data/man/bundle-show.1 +23 -0
  206. data/man/bundle-show.1.txt +25 -0
  207. data/man/bundle-update.1 +390 -0
  208. data/man/bundle-update.1.txt +386 -0
  209. data/man/bundle-update.ronn +2 -2
  210. data/man/bundle-viz.1 +39 -0
  211. data/man/bundle-viz.1.txt +38 -0
  212. data/man/bundle-viz.ronn +5 -5
  213. data/man/bundle.1 +132 -0
  214. data/man/bundle.1.txt +113 -0
  215. data/man/bundle.ronn +5 -2
  216. data/man/gemfile.5 +679 -0
  217. data/man/gemfile.5.ronn +31 -0
  218. data/man/gemfile.5.txt +636 -0
  219. data/man/index.txt +23 -0
  220. metadata +21 -36
  221. data/.codeclimate.yml +0 -25
  222. data/.gitignore +0 -18
  223. data/.rspec +0 -3
  224. data/.rubocop.yml +0 -131
  225. data/.rubocop_todo.yml +0 -418
  226. data/.travis.yml +0 -122
  227. data/CODE_OF_CONDUCT.md +0 -42
  228. data/CONTRIBUTING.md +0 -17
  229. data/Rakefile +0 -338
  230. data/bin/rake +0 -19
  231. data/bin/rspec +0 -15
  232. data/bin/rubocop +0 -17
  233. data/bin/with_rubygems +0 -39
  234. data/bundler.gemspec +0 -48
  235. data/doc/README.md +0 -30
  236. data/doc/TROUBLESHOOTING.md +0 -64
  237. data/doc/contributing/BUG_TRIAGE.md +0 -36
  238. data/doc/contributing/COMMUNITY.md +0 -13
  239. data/doc/contributing/GETTING_HELP.md +0 -11
  240. data/doc/contributing/HOW_YOU_CAN_HELP.md +0 -27
  241. data/doc/contributing/ISSUES.md +0 -51
  242. data/doc/contributing/README.md +0 -38
  243. data/doc/development/NEW_FEATURES.md +0 -10
  244. data/doc/development/PULL_REQUESTS.md +0 -40
  245. data/doc/development/README.md +0 -19
  246. data/doc/development/RELEASING.md +0 -9
  247. data/doc/development/SETUP.md +0 -27
  248. data/doc/documentation/README.md +0 -29
  249. data/doc/documentation/VISION.md +0 -26
  250. data/doc/documentation/WRITING.md +0 -54
  251. data/task/release.rake +0 -116
@@ -63,6 +63,13 @@ It also modifies Rubygems:
63
63
  making system executables work
64
64
  * Add all gems in the bundle into Gem.loaded_specs
65
65
 
66
+ Finally, `bundle exec` also implicitly modifies `Gemfile.lock` if the lockfile
67
+ and the Gemfile do not match. Bundler needs the Gemfile to determine things
68
+ such as a gem's groups, `autorequire`, and platforms, etc., and that
69
+ information isn't stored in the lockfile. The Gemfile and lockfile must be
70
+ synced in order to `bundle exec` successfully, so `bundle exec`
71
+ updates the lockfile beforehand.
72
+
66
73
  ### Loading
67
74
 
68
75
  By default, when attempting to `bundle exec` to a file with a ruby shebang,
@@ -0,0 +1,80 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-GEM" "1" "August 2017" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBbundle gem\fR \fIGEM_NAME\fR \fIOPTIONS\fR
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Generates a directory named \fBGEM_NAME\fR with a \fBRakefile\fR, \fBGEM_NAME\.gemspec\fR, and other supporting files and directories that can be used to develop a rubygem with that name\.
14
+ .
15
+ .P
16
+ Run \fBrake \-T\fR in the resulting project for a list of Rake tasks that can be used to test and publish the gem to rubygems\.org\.
17
+ .
18
+ .P
19
+ The generated project skeleton can be customized with OPTIONS, as explained below\. Note that these options can also be specified via Bundler\'s global configuration file using the following names:
20
+ .
21
+ .IP "\(bu" 4
22
+ \fBgem\.coc\fR
23
+ .
24
+ .IP "\(bu" 4
25
+ \fBgem\.mit\fR
26
+ .
27
+ .IP "\(bu" 4
28
+ \fBgem\.test\fR
29
+ .
30
+ .IP "" 0
31
+ .
32
+ .SH "OPTIONS"
33
+ .
34
+ .TP
35
+ \fB\-\-exe\fR or \fB\-b\fR or \fB\-\-bin\fR
36
+ Specify that Bundler should create a binary executable (as \fBexe/GEM_NAME\fR) in the generated rubygem project\. This binary will also be added to the \fBGEM_NAME\.gemspec\fR manifest\. This behavior is disabled by default\.
37
+ .
38
+ .TP
39
+ \fB\-\-no\-exe\fR
40
+ Do not create a binary (overrides \fB\-\-exe\fR specified in the global config)\.
41
+ .
42
+ .TP
43
+ \fB\-\-coc\fR
44
+ Add a \fBCODE_OF_CONDUCT\.md\fR file to the root of the generated project\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
45
+ .
46
+ .TP
47
+ \fB\-\-no\-coc\fR
48
+ Do not create a \fBCODE_OF_CONDUCT\.md\fR (overrides \fB\-\-coc\fR specified in the global config)\.
49
+ .
50
+ .TP
51
+ \fB\-\-ext\fR
52
+ Add boilerplate for C extension code to the generated project\. This behavior is disabled by default\.
53
+ .
54
+ .TP
55
+ \fB\-\-no\-ext\fR
56
+ Do not add C extension code (overrides \fB\-\-ext\fR specified in the global config)\.
57
+ .
58
+ .TP
59
+ \fB\-\-mit\fR
60
+ Add an MIT license to a \fBLICENSE\.txt\fR file in the root of the generated project\. Your name from the global git config is used for the copyright statement\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
61
+ .
62
+ .TP
63
+ \fB\-\-no\-mit\fR
64
+ Do not create a \fBLICENSE\.txt\fR (overrides \fB\-\-mit\fR specified in the global config)\.
65
+ .
66
+ .TP
67
+ \fB\-t\fR, \fB\-\-test=minitest\fR, \fB\-\-test=rspec\fR
68
+ Specify the test framework that Bundler should use when generating the project\. Acceptable values are \fBminitest\fR and \fBrspec\fR\. The \fBGEM_NAME\.gemspec\fR will be configured and a skeleton test/spec directory will be created based on this option\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\. If no option is specified, the default testing framework is RSpec\.
69
+ .
70
+ .TP
71
+ \fB\-e\fR, \fB\-\-edit[=EDITOR]\fR
72
+ Open the resulting GEM_NAME\.gemspec in EDITOR, or the default editor if not specified\. The default is \fB$BUNDLER_EDITOR\fR, \fB$VISUAL\fR, or \fB$EDITOR\fR\.
73
+ .
74
+ .SH "SEE ALSO"
75
+ .
76
+ .IP "\(bu" 4
77
+ bundle\-config \fIhttp://bundler\.io/v1\.14/bundle_config\.html\fR
78
+ .
79
+ .IP "" 0
80
+
@@ -0,0 +1,91 @@
1
+ BUNDLE-GEM(1) BUNDLE-GEM(1)
2
+
3
+
4
+
5
+ 1mNAME0m
6
+ 1mbundle-gem 22m- Generate a project skeleton for creating a rubygem
7
+
8
+ 1mSYNOPSIS0m
9
+ 1mbundle gem 4m22mGEM_NAME24m 4mOPTIONS0m
10
+
11
+ 1mDESCRIPTION0m
12
+ Generates a directory named 1mGEM_NAME 22mwith a 1mRakefile22m, 1mGEM_NAME.gemspec22m,
13
+ and other supporting files and directories that can be used to develop
14
+ a rubygem with that name.
15
+
16
+ Run 1mrake -T 22min the resulting project for a list of Rake tasks that can
17
+ be used to test and publish the gem to rubygems.org.
18
+
19
+ The generated project skeleton can be customized with OPTIONS, as
20
+ explained below. Note that these options can also be specified via
21
+ Bundler's global configuration file using the following names:
22
+
23
+ o 1mgem.coc0m
24
+
25
+ o 1mgem.mit0m
26
+
27
+ o 1mgem.test0m
28
+
29
+
30
+
31
+ 1mOPTIONS0m
32
+ 1m--exe 22mor 1m-b 22mor 1m--bin0m
33
+ Specify that Bundler should create a binary executable (as
34
+ 1mexe/GEM_NAME22m) in the generated rubygem project. This binary will
35
+ also be added to the 1mGEM_NAME.gemspec 22mmanifest. This behavior is
36
+ disabled by default.
37
+
38
+ 1m--no-exe0m
39
+ Do not create a binary (overrides 1m--exe 22mspecified in the global
40
+ config).
41
+
42
+ 1m--coc 22mAdd a 1mCODE_OF_CONDUCT.md 22mfile to the root of the generated
43
+ project. If this option is unspecified, an interactive prompt
44
+ will be displayed and the answer will be saved in Bundler's
45
+ global config for future 1mbundle gem 22muse.
46
+
47
+ 1m--no-coc0m
48
+ Do not create a 1mCODE_OF_CONDUCT.md 22m(overrides 1m--coc 22mspecified in
49
+ the global config).
50
+
51
+ 1m--ext 22mAdd boilerplate for C extension code to the generated project.
52
+ This behavior is disabled by default.
53
+
54
+ 1m--no-ext0m
55
+ Do not add C extension code (overrides 1m--ext 22mspecified in the
56
+ global config).
57
+
58
+ 1m--mit 22mAdd an MIT license to a 1mLICENSE.txt 22mfile in the root of the gen-
59
+ erated project. Your name from the global git config is used for
60
+ the copyright statement. If this option is unspecified, an
61
+ interactive prompt will be displayed and the answer will be
62
+ saved in Bundler's global config for future 1mbundle gem 22muse.
63
+
64
+ 1m--no-mit0m
65
+ Do not create a 1mLICENSE.txt 22m(overrides 1m--mit 22mspecified in the
66
+ global config).
67
+
68
+ 1m-t22m, 1m--test=minitest22m, 1m--test=rspec0m
69
+ Specify the test framework that Bundler should use when generat-
70
+ ing the project. Acceptable values are 1mminitest 22mand 1mrspec22m. The
71
+ 1mGEM_NAME.gemspec 22mwill be configured and a skeleton test/spec
72
+ directory will be created based on this option. If this option
73
+ is unspecified, an interactive prompt will be displayed and the
74
+ answer will be saved in Bundler's global config for future 1mbun-0m
75
+ 1mdle gem 22muse. If no option is specified, the default testing
76
+ framework is RSpec.
77
+
78
+ 1m-e22m, 1m--edit[=EDITOR]0m
79
+ Open the resulting GEM_NAME.gemspec in EDITOR, or the default
80
+ editor if not specified. The default is 1m$BUNDLER_EDITOR22m, 1m$VIS-0m
81
+ 1mUAL22m, or 1m$EDITOR22m.
82
+
83
+ 1mSEE ALSO0m
84
+ o bundle-config 4mhttp://bundler.io/v1.14/bundle_config.html0m
85
+
86
+
87
+
88
+
89
+
90
+
91
+ August 2017 BUNDLE-GEM(1)
@@ -67,6 +67,7 @@ configuration file using the following names:
67
67
  on this option. If this option is unspecified, an interactive prompt will be
68
68
  displayed and the answer will be saved in Bundler's global config for future
69
69
  `bundle gem` use.
70
+ If no option is specified, the default testing framework is RSpec.
70
71
 
71
72
  * `-e`, `--edit[=EDITOR]`:
72
73
  Open the resulting GEM_NAME.gemspec in EDITOR, or the default editor if not
@@ -74,4 +75,4 @@ configuration file using the following names:
74
75
 
75
76
  ## SEE ALSO
76
77
 
77
- * bundle-config(1)
78
+ * [bundle-config](http://bundler.io/v1.14/bundle_config.html)
@@ -0,0 +1,20 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-INFO" "1" "June 2017" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-info\fR \- Show information for the given gem in your bundle
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBbundle info\fR [GEM] [\-\-path]
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Print the basic information about the provided GEM such as homepage, version, path and summary\.
14
+ .
15
+ .SH "OPTIONS"
16
+ .
17
+ .TP
18
+ \fB\-\-path\fR
19
+ Print the path of the given gem
20
+
@@ -0,0 +1,21 @@
1
+ BUNDLE-INFO(1) BUNDLE-INFO(1)
2
+
3
+
4
+
5
+ 1mNAME0m
6
+ 1mbundle-info 22m- Show information for the given gem in your bundle
7
+
8
+ 1mSYNOPSIS0m
9
+ 1mbundle info 22m[GEM] [--path]
10
+
11
+ 1mDESCRIPTION0m
12
+ Print the basic information about the provided GEM such as homepage,
13
+ version, path and summary.
14
+
15
+ 1mOPTIONS0m
16
+ 1m--path 22mPrint the path of the given gem
17
+
18
+
19
+
20
+
21
+ June 2017 BUNDLE-INFO(1)
@@ -0,0 +1,20 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-INIT" "1" "June 2017" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-init\fR \- Generates a Gemfile into the current working directory
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBbundle init\fR [\-\-gemspec=FILE]
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Init generates a default \fBGemfile(5)\fR in the current working directory\. When adding a \fBGemfile(5)\fR to a gem with a gemspec, the \fB\-\-gemspec\fR option will automatically add each dependency listed in the gemspec file to the newly created \fBGemfile(5)\fR\.
14
+ .
15
+ .SH "OPTIONS"
16
+ .
17
+ .TP
18
+ \fB\-\-gemspec\fR
19
+ Use the specified \.gemspec to create the \fBGemfile(5)\fR
20
+
@@ -0,0 +1,24 @@
1
+ BUNDLE-INIT(1) BUNDLE-INIT(1)
2
+
3
+
4
+
5
+ 1mNAME0m
6
+ 1mbundle-init 22m- Generates a Gemfile into the current working directory
7
+
8
+ 1mSYNOPSIS0m
9
+ 1mbundle init 22m[--gemspec=FILE]
10
+
11
+ 1mDESCRIPTION0m
12
+ Init generates a default 1mGemfile(5) 22min the current working directory.
13
+ When adding a 1mGemfile(5) 22mto a gem with a gemspec, the 1m--gemspec 22moption
14
+ will automatically add each dependency listed in the gemspec file to
15
+ the newly created 1mGemfile(5)22m.
16
+
17
+ 1mOPTIONS0m
18
+ 1m--gemspec0m
19
+ Use the specified .gemspec to create the 1mGemfile(5)0m
20
+
21
+
22
+
23
+
24
+ June 2017 BUNDLE-INIT(1)
@@ -0,0 +1,33 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-INJECT" "1" "June 2017" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBbundle inject\fR [GEM] [VERSION]
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Adds the named gem(s) with their version requirements to the resolved \fBGemfile(5)\fR\.
14
+ .
15
+ .P
16
+ This command will add the gem to both your \fBGemfile(5)\fR and Gemfile\.lock if it isn\'t listed yet\.
17
+ .
18
+ .P
19
+ Example:
20
+ .
21
+ .IP "" 4
22
+ .
23
+ .nf
24
+
25
+ bundle install
26
+ bundle inject \'rack\' \'> 0\'
27
+ .
28
+ .fi
29
+ .
30
+ .IP "" 0
31
+ .
32
+ .P
33
+ This will inject the \'rack\' gem with a version greater than 0 in your \fBGemfile(5)\fR and Gemfile\.lock
@@ -0,0 +1,32 @@
1
+ BUNDLE-INJECT(1) BUNDLE-INJECT(1)
2
+
3
+
4
+
5
+ 1mNAME0m
6
+ 1mbundle-inject 22m- Add named gem(s) with version requirements to Gemfile
7
+
8
+ 1mSYNOPSIS0m
9
+ 1mbundle inject 22m[GEM] [VERSION]
10
+
11
+ 1mDESCRIPTION0m
12
+ Adds the named gem(s) with their version requirements to the resolved
13
+ 1mGemfile(5)22m.
14
+
15
+ This command will add the gem to both your 1mGemfile(5) 22mand Gemfile.lock
16
+ if it isn't listed yet.
17
+
18
+ Example:
19
+
20
+
21
+
22
+ bundle install
23
+ bundle inject 'rack' '> 0'
24
+
25
+
26
+
27
+ This will inject the 'rack' gem with a version greater than 0 in your
28
+ 1mGemfile(5) 22mand Gemfile.lock
29
+
30
+
31
+
32
+ June 2017 BUNDLE-INJECT(1)
@@ -0,0 +1,305 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-INSTALL" "1" "August 2017" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
8
+ .
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\.\.\.]]
11
+ .
12
+ .SH "DESCRIPTION"
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\.
14
+ .
15
+ .P
16
+ If a \fBGemfile\.lock\fR does exist, and you have not updated your Gemfile(5), Bundler will fetch all remote sources, but use the dependencies specified in the \fBGemfile\.lock\fR instead of resolving dependencies\.
17
+ .
18
+ .P
19
+ If a \fBGemfile\.lock\fR does exist, and you have updated your Gemfile(5), Bundler will use the dependencies in the \fBGemfile\.lock\fR for all gems that you did not update, but will re\-resolve the dependencies of gems that you did update\. You can find more information about this update process below under \fICONSERVATIVE UPDATING\fR\.
20
+ .
21
+ .SH "OPTIONS"
22
+ To apply any of \fB\-\-binstubs\fR, \fB\-\-deployment\fR, \fB\-\-path\fR, or \fB\-\-without\fR every time \fBbundle install\fR is run, use \fBbundle config\fR (see bundle\-config(1))\.
23
+ .
24
+ .TP
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\.
27
+ .
28
+ .TP
29
+ \fB\-\-clean\fR
30
+ On finishing the installation Bundler is going to remove any gems not present in the current Gemfile(5)\. Don\'t worry, gems currently in use will not be removed\.
31
+ .
32
+ .TP
33
+ \fB\-\-deployment\fR
34
+ 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
+ .
36
+ .TP
37
+ \fB\-\-force\fR
38
+ Force download every gem, even if the required versions are already available locally\.
39
+ .
40
+ .TP
41
+ \fB\-\-frozen\fR
42
+ Do not allow the Gemfile\.lock to be updated after this install\. Exits non\-zero if there are going to be changes to the Gemfile\.lock\.
43
+ .
44
+ .TP
45
+ \fB\-\-full\-index\fR
46
+ Bundler will not call Rubygems\' API endpoint (default) but download and cache a (currently big) index file of all gems\. Performance can be improved for large bundles that seldom change by enabling this option\.
47
+ .
48
+ .TP
49
+ \fB\-\-gemfile=<gemfile>\fR
50
+ The location of the Gemfile(5) which Bundler should use\. This defaults to a Gemfile(5) in the current working directory\. In general, Bundler will assume that the location of the Gemfile(5) is also the project\'s root and will try to find \fBGemfile\.lock\fR and \fBvendor/cache\fR relative to this location\.
51
+ .
52
+ .TP
53
+ \fB\-\-jobs=[<number>]\fR, \fB\-j[<number>]\fR
54
+ The maximum number of parallel download and install jobs\. The default is \fB1\fR\.
55
+ .
56
+ .TP
57
+ \fB\-\-local\fR
58
+ Do not attempt to connect to \fBrubygems\.org\fR\. Instead, Bundler will use the gems already present in Rubygems\' cache or in \fBvendor/cache\fR\. Note that if a appropriate platform\-specific gem exists on \fBrubygems\.org\fR it will not be found\.
59
+ .
60
+ .TP
61
+ \fB\-\-no\-cache\fR
62
+ Do not update the cache in \fBvendor/cache\fR with the newly bundled gems\. This does not remove any gems in the cache but keeps the newly bundled gems from being cached during the install\.
63
+ .
64
+ .TP
65
+ \fB\-\-no\-prune\fR
66
+ Don\'t remove stale gems from the cache when the installation finishes\.
67
+ .
68
+ .TP
69
+ \fB\-\-path=<path>\fR
70
+ The location to install the specified gems to\. This defaults to Rubygems\' setting\. Bundler shares this location with Rubygems, \fBgem install \.\.\.\fR will have gem installed there, too\. Therefore, gems installed without a \fB\-\-path \.\.\.\fR setting will show up by calling \fBgem list\fR\. Accordingly, gems installed to other locations will not get listed\.
71
+ .
72
+ .TP
73
+ \fB\-\-quiet\fR
74
+ Do not print progress information to the standard output\. Instead, Bundler will exit using a status code (\fB$?\fR)\.
75
+ .
76
+ .TP
77
+ \fB\-\-retry=[<number>]\fR
78
+ Retry failed network or git requests for \fInumber\fR times\.
79
+ .
80
+ .TP
81
+ \fB\-\-shebang=<ruby\-executable>\fR
82
+ Uses the specified ruby executable (usually \fBruby\fR) to execute the scripts created with \fB\-\-binstubs\fR\. In addition, if you use \fB\-\-binstubs\fR together with \fB\-\-shebang jruby\fR these executables will be changed to execute \fBjruby\fR instead\.
83
+ .
84
+ .TP
85
+ \fB\-\-standalone[=<list>]\fR
86
+ Makes a bundle that can work without depending on Rubygems or Bundler at runtime\. A space separated list of groups to install has to be specified\. Bundler creates a directory named \fBbundle\fR and installs the bundle there\. It also generates a \fBbundle/bundler/setup\.rb\fR file to replace Bundler\'s own setup in the manner required\. Using this option implicitly sets \fBpath\fR, which is a [remembered option][REMEMBERED OPTIONS]\.
87
+ .
88
+ .TP
89
+ \fB\-\-system\fR
90
+ Installs the gems specified in the bundle to the system\'s Rubygems location\. This overrides any previous configuration of \fB\-\-path\fR\.
91
+ .
92
+ .TP
93
+ \fB\-\-trust\-policy=[<policy>]\fR
94
+ Apply the Rubygems security policy \fIpolicy\fR, where policy is one of \fBHighSecurity\fR, \fBMediumSecurity\fR, \fBLowSecurity\fR, \fBAlmostNoSecurity\fR, or \fBNoSecurity\fR\. For more details, please see the Rubygems signing documentation linked below in \fISEE ALSO\fR\.
95
+ .
96
+ .TP
97
+ \fB\-\-with=<list>\fR
98
+ A space\-separated list of groups referencing gems to install\. If an optional group is given it is installed\. If a group is given that is in the remembered list of groups given to \-\-without, it is removed from that list\.
99
+ .
100
+ .TP
101
+ \fB\-\-without=<list>\fR
102
+ A space\-separated list of groups referencing gems to skip during installation\. If a group is given that is in the remembered list of groups given to \-\-with, it is removed from that list\.
103
+ .
104
+ .SH "DEPLOYMENT MODE"
105
+ Bundler\'s defaults are optimized for development\. To switch to defaults optimized for deployment and for CI, use the \fB\-\-deployment\fR flag\. Do not activate deployment mode on development machines, as it will cause an error when the Gemfile(5) is modified\.
106
+ .
107
+ .IP "1." 4
108
+ A \fBGemfile\.lock\fR is required\.
109
+ .
110
+ .IP
111
+ To ensure that the same versions of the gems you developed with and tested with are also used in deployments, a \fBGemfile\.lock\fR is required\.
112
+ .
113
+ .IP
114
+ This is mainly to ensure that you remember to check your \fBGemfile\.lock\fR into version control\.
115
+ .
116
+ .IP "2." 4
117
+ The \fBGemfile\.lock\fR must be up to date
118
+ .
119
+ .IP
120
+ In development, you can modify your Gemfile(5) and re\-run \fBbundle install\fR to \fIconservatively update\fR your \fBGemfile\.lock\fR snapshot\.
121
+ .
122
+ .IP
123
+ In deployment, your \fBGemfile\.lock\fR should be up\-to\-date with changes made in your Gemfile(5)\.
124
+ .
125
+ .IP "3." 4
126
+ Gems are installed to \fBvendor/bundle\fR not your default system location
127
+ .
128
+ .IP
129
+ In development, it\'s convenient to share the gems used in your application with other applications and other scripts that run on the system\.
130
+ .
131
+ .IP
132
+ In deployment, isolation is a more important default\. In addition, the user deploying the application may not have permission to install gems to the system, or the web server may not have permission to read them\.
133
+ .
134
+ .IP
135
+ As a result, \fBbundle install \-\-deployment\fR installs gems to the \fBvendor/bundle\fR directory in the application\. This may be overridden using the \fB\-\-path\fR option\.
136
+ .
137
+ .IP "" 0
138
+ .
139
+ .SH "SUDO USAGE"
140
+ By default, Bundler installs gems to the same location as \fBgem install\fR\.
141
+ .
142
+ .P
143
+ In some cases, that location may not be writable by your Unix user\. In that case, Bundler will stage everything in a temporary directory, then ask you for your \fBsudo\fR password in order to copy the gems into their system location\.
144
+ .
145
+ .P
146
+ From your perspective, this is identical to installing the gems directly into the system\.
147
+ .
148
+ .P
149
+ You should never use \fBsudo bundle install\fR\. This is because several other steps in \fBbundle install\fR must be performed as the current user:
150
+ .
151
+ .IP "\(bu" 4
152
+ Updating your \fBGemfile\.lock\fR
153
+ .
154
+ .IP "\(bu" 4
155
+ Updating your \fBvendor/cache\fR, if necessary
156
+ .
157
+ .IP "\(bu" 4
158
+ Checking out private git repositories using your user\'s SSH keys
159
+ .
160
+ .IP "" 0
161
+ .
162
+ .P
163
+ Of these three, the first two could theoretically be performed by \fBchown\fRing the resulting files to \fB$SUDO_USER\fR\. The third, however, can only be performed by invoking the \fBgit\fR command as the current user\. Therefore, git gems are downloaded and installed into \fB~/\.bundle\fR rather than $GEM_HOME or $BUNDLE_PATH\.
164
+ .
165
+ .P
166
+ As a result, you should run \fBbundle install\fR as the current user, and Bundler will ask for your password if it is needed to put the gems into their final location\.
167
+ .
168
+ .SH "INSTALLING GROUPS"
169
+ By default, \fBbundle install\fR will install all gems in all groups in your Gemfile(5), except those declared for a different platform\.
170
+ .
171
+ .P
172
+ However, you can explicitly tell Bundler to skip installing certain groups with the \fB\-\-without\fR option\. This option takes a space\-separated list of groups\.
173
+ .
174
+ .P
175
+ While the \fB\-\-without\fR option will skip \fIinstalling\fR the gems in the specified groups, it will still \fIdownload\fR those gems and use them to resolve the dependencies of every gem in your Gemfile(5)\.
176
+ .
177
+ .P
178
+ This is so that installing a different set of groups on another machine (such as a production server) will not change the gems and versions that you have already developed and tested against\.
179
+ .
180
+ .P
181
+ \fBBundler offers a rock\-solid guarantee that the third\-party code you are running in development and testing is also the third\-party code you are running in production\. You can choose to exclude some of that code in different environments, but you will never be caught flat\-footed by different versions of third\-party code being used in different environments\.\fR
182
+ .
183
+ .P
184
+ For a simple illustration, consider the following Gemfile(5):
185
+ .
186
+ .IP "" 4
187
+ .
188
+ .nf
189
+
190
+ source \'https://rubygems\.org\'
191
+
192
+ gem \'sinatra\'
193
+
194
+ group :production do
195
+ gem \'rack\-perftools\-profiler\'
196
+ end
197
+ .
198
+ .fi
199
+ .
200
+ .IP "" 0
201
+ .
202
+ .P
203
+ In this case, \fBsinatra\fR depends on any version of Rack (\fB>= 1\.0\fR), while \fBrack\-perftools\-profiler\fR depends on 1\.x (\fB~> 1\.0\fR)\.
204
+ .
205
+ .P
206
+ When you run \fBbundle install \-\-without production\fR in development, we look at the dependencies of \fBrack\-perftools\-profiler\fR as well\. That way, you do not spend all your time developing against Rack 2\.0, using new APIs unavailable in Rack 1\.x, only to have Bundler switch to Rack 1\.2 when the \fBproduction\fR group \fIis\fR used\.
207
+ .
208
+ .P
209
+ This should not cause any problems in practice, because we do not attempt to \fBinstall\fR the gems in the excluded groups, and only evaluate as part of the dependency resolution process\.
210
+ .
211
+ .P
212
+ This also means that you cannot include different versions of the same gem in different groups, because doing so would result in different sets of dependencies used in development and production\. Because of the vagaries of the dependency resolution process, this usually affects more than the gems you list in your Gemfile(5), and can (surprisingly) radically change the gems you are using\.
213
+ .
214
+ .SH "THE GEMFILE\.LOCK"
215
+ When you run \fBbundle install\fR, Bundler will persist the full names and versions of all gems that you used (including dependencies of the gems specified in the Gemfile(5)) into a file called \fBGemfile\.lock\fR\.
216
+ .
217
+ .P
218
+ Bundler uses this file in all subsequent calls to \fBbundle install\fR, which guarantees that you always use the same exact code, even as your application moves across machines\.
219
+ .
220
+ .P
221
+ Because of the way dependency resolution works, even a seemingly small change (for instance, an update to a point\-release of a dependency of a gem in your Gemfile(5)) can result in radically different gems being needed to satisfy all dependencies\.
222
+ .
223
+ .P
224
+ As a result, you \fBSHOULD\fR check your \fBGemfile\.lock\fR into version control\. If you do not, every machine that checks out your repository (including your production server) will resolve all dependencies again, which will result in different versions of third\-party code being used if \fBany\fR of the gems in the Gemfile(5) or any of their dependencies have been updated\.
225
+ .
226
+ .SH "CONSERVATIVE UPDATING"
227
+ When you make a change to the Gemfile(5) and then run \fBbundle install\fR, Bundler will update only the gems that you modified\.
228
+ .
229
+ .P
230
+ In other words, if a gem that you \fBdid not modify\fR worked before you called \fBbundle install\fR, it will continue to use the exact same versions of all dependencies as it used before the update\.
231
+ .
232
+ .P
233
+ Let\'s take a look at an example\. Here\'s your original Gemfile(5):
234
+ .
235
+ .IP "" 4
236
+ .
237
+ .nf
238
+
239
+ source \'https://rubygems\.org\'
240
+
241
+ gem \'actionpack\', \'2\.3\.8\'
242
+ gem \'activemerchant\'
243
+ .
244
+ .fi
245
+ .
246
+ .IP "" 0
247
+ .
248
+ .P
249
+ In this case, both \fBactionpack\fR and \fBactivemerchant\fR depend on \fBactivesupport\fR\. The \fBactionpack\fR gem depends on \fBactivesupport 2\.3\.8\fR and \fBrack ~> 1\.1\.0\fR, while the \fBactivemerchant\fR gem depends on \fBactivesupport >= 2\.3\.2\fR, \fBbraintree >= 2\.0\.0\fR, and \fBbuilder >= 2\.0\.0\fR\.
250
+ .
251
+ .P
252
+ When the dependencies are first resolved, Bundler will select \fBactivesupport 2\.3\.8\fR, which satisfies the requirements of both gems in your Gemfile(5)\.
253
+ .
254
+ .P
255
+ Next, you modify your Gemfile(5) to:
256
+ .
257
+ .IP "" 4
258
+ .
259
+ .nf
260
+
261
+ source \'https://rubygems\.org\'
262
+
263
+ gem \'actionpack\', \'3\.0\.0\.rc\'
264
+ gem \'activemerchant\'
265
+ .
266
+ .fi
267
+ .
268
+ .IP "" 0
269
+ .
270
+ .P
271
+ The \fBactionpack 3\.0\.0\.rc\fR gem has a number of new dependencies, and updates the \fBactivesupport\fR dependency to \fB= 3\.0\.0\.rc\fR and the \fBrack\fR dependency to \fB~> 1\.2\.1\fR\.
272
+ .
273
+ .P
274
+ When you run \fBbundle install\fR, Bundler notices that you changed the \fBactionpack\fR gem, but not the \fBactivemerchant\fR gem\. It evaluates the gems currently being used to satisfy its requirements:
275
+ .
276
+ .TP
277
+ \fBactivesupport 2\.3\.8\fR
278
+ also used to satisfy a dependency in \fBactivemerchant\fR, which is not being updated
279
+ .
280
+ .TP
281
+ \fBrack ~> 1\.1\.0\fR
282
+ not currently being used to satisfy another dependency
283
+ .
284
+ .P
285
+ Because you did not explicitly ask to update \fBactivemerchant\fR, you would not expect it to suddenly stop working after updating \fBactionpack\fR\. However, satisfying the new \fBactivesupport 3\.0\.0\.rc\fR dependency of actionpack requires updating one of its dependencies\.
286
+ .
287
+ .P
288
+ Even though \fBactivemerchant\fR declares a very loose dependency that theoretically matches \fBactivesupport 3\.0\.0\.rc\fR, Bundler treats gems in your Gemfile(5) that have not changed as an atomic unit together with their dependencies\. In this case, the \fBactivemerchant\fR dependency is treated as \fBactivemerchant 1\.7\.1 + activesupport 2\.3\.8\fR, so \fBbundle install\fR will report that it cannot update \fBactionpack\fR\.
289
+ .
290
+ .P
291
+ To explicitly update \fBactionpack\fR, including its dependencies which other gems in the Gemfile(5) still depend on, run \fBbundle update actionpack\fR (see \fBbundle update(1)\fR)\.
292
+ .
293
+ .P
294
+ \fBSummary\fR: In general, after making a change to the Gemfile(5) , you should first try to run \fBbundle install\fR, which will guarantee that no other gem in the Gemfile(5) is impacted by the change\. If that does not work, run [bundle update(1)][bundle\-update]\.
295
+ .
296
+ .SH "SEE ALSO"
297
+ .
298
+ .IP "\(bu" 4
299
+ Gem install docs \fIhttp://guides\.rubygems\.org/rubygems\-basics/#installing\-gems\fR
300
+ .
301
+ .IP "\(bu" 4
302
+ Rubygems signing docs \fIhttp://guides\.rubygems\.org/security/\fR
303
+ .
304
+ .IP "" 0
305
+