bundler 2.4.22 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +63 -0
  3. data/bundler.gemspec +4 -2
  4. data/exe/bundle +1 -10
  5. data/lib/bundler/build_metadata.rb +3 -3
  6. data/lib/bundler/capistrano.rb +1 -1
  7. data/lib/bundler/checksum.rb +254 -0
  8. data/lib/bundler/ci_detector.rb +75 -0
  9. data/lib/bundler/cli/add.rb +3 -3
  10. data/lib/bundler/cli/binstubs.rb +4 -4
  11. data/lib/bundler/cli/cache.rb +1 -1
  12. data/lib/bundler/cli/check.rb +1 -1
  13. data/lib/bundler/cli/common.rb +9 -1
  14. data/lib/bundler/cli/config.rb +8 -7
  15. data/lib/bundler/cli/console.rb +3 -2
  16. data/lib/bundler/cli/doctor.rb +2 -2
  17. data/lib/bundler/cli/exec.rb +1 -1
  18. data/lib/bundler/cli/gem.rb +28 -23
  19. data/lib/bundler/cli/info.rb +2 -13
  20. data/lib/bundler/cli/install.rb +5 -4
  21. data/lib/bundler/cli/issue.rb +1 -1
  22. data/lib/bundler/cli/lock.rb +4 -4
  23. data/lib/bundler/cli/open.rb +1 -1
  24. data/lib/bundler/cli/outdated.rb +6 -6
  25. data/lib/bundler/cli/plugin.rb +7 -14
  26. data/lib/bundler/cli/pristine.rb +38 -30
  27. data/lib/bundler/cli/show.rb +2 -2
  28. data/lib/bundler/cli/update.rb +5 -5
  29. data/lib/bundler/cli.rb +215 -263
  30. data/lib/bundler/compact_index_client/cache.rb +29 -9
  31. data/lib/bundler/compact_index_client/cache_file.rb +153 -0
  32. data/lib/bundler/compact_index_client/gem_parser.rb +7 -3
  33. data/lib/bundler/compact_index_client/updater.rb +79 -81
  34. data/lib/bundler/compact_index_client.rb +14 -7
  35. data/lib/bundler/constants.rb +1 -1
  36. data/lib/bundler/current_ruby.rb +5 -21
  37. data/lib/bundler/definition.rb +42 -15
  38. data/lib/bundler/dependency.rb +16 -12
  39. data/lib/bundler/digest.rb +2 -2
  40. data/lib/bundler/dsl.rb +46 -30
  41. data/lib/bundler/endpoint_specification.rb +5 -1
  42. data/lib/bundler/env.rb +1 -3
  43. data/lib/bundler/errors.rb +43 -0
  44. data/lib/bundler/fetcher/base.rb +3 -1
  45. data/lib/bundler/fetcher/compact_index.rb +4 -4
  46. data/lib/bundler/fetcher/downloader.rb +13 -11
  47. data/lib/bundler/fetcher/gem_remote_fetcher.rb +16 -0
  48. data/lib/bundler/fetcher/index.rb +1 -1
  49. data/lib/bundler/fetcher.rb +28 -25
  50. data/lib/bundler/friendly_errors.rb +5 -5
  51. data/lib/bundler/gem_helper.rb +1 -1
  52. data/lib/bundler/gem_helpers.rb +5 -2
  53. data/lib/bundler/graph.rb +9 -9
  54. data/lib/bundler/index.rb +1 -2
  55. data/lib/bundler/injector.rb +1 -1
  56. data/lib/bundler/inline.rb +3 -3
  57. data/lib/bundler/installer/gem_installer.rb +5 -5
  58. data/lib/bundler/installer/parallel_installer.rb +16 -8
  59. data/lib/bundler/installer/standalone.rb +2 -3
  60. data/lib/bundler/installer.rb +9 -9
  61. data/lib/bundler/lazy_specification.rb +24 -17
  62. data/lib/bundler/lockfile_generator.rb +9 -0
  63. data/lib/bundler/lockfile_parser.rb +81 -10
  64. data/lib/bundler/man/bundle-add.1 +3 -26
  65. data/lib/bundler/man/bundle-binstubs.1 +4 -16
  66. data/lib/bundler/man/bundle-cache.1 +3 -24
  67. data/lib/bundler/man/bundle-check.1 +3 -12
  68. data/lib/bundler/man/bundle-clean.1 +3 -10
  69. data/lib/bundler/man/bundle-config.1 +20 -211
  70. data/lib/bundler/man/bundle-config.1.ronn +6 -0
  71. data/lib/bundler/man/bundle-console.1 +4 -22
  72. data/lib/bundler/man/bundle-doctor.1 +4 -18
  73. data/lib/bundler/man/bundle-exec.1 +12 -73
  74. data/lib/bundler/man/bundle-gem.1 +13 -49
  75. data/lib/bundler/man/bundle-help.1 +3 -7
  76. data/lib/bundler/man/bundle-info.1 +3 -9
  77. data/lib/bundler/man/bundle-init.1 +3 -12
  78. data/lib/bundler/man/bundle-inject.1 +6 -19
  79. data/lib/bundler/man/bundle-install.1 +27 -125
  80. data/lib/bundler/man/bundle-install.1.ronn +1 -0
  81. data/lib/bundler/man/bundle-list.1 +4 -19
  82. data/lib/bundler/man/bundle-lock.1 +5 -29
  83. data/lib/bundler/man/bundle-open.1 +7 -27
  84. data/lib/bundler/man/bundle-outdated.1 +3 -55
  85. data/lib/bundler/man/bundle-outdated.1.ronn +1 -0
  86. data/lib/bundler/man/bundle-platform.1 +5 -27
  87. data/lib/bundler/man/bundle-plugin.1 +3 -29
  88. data/lib/bundler/man/bundle-pristine.1 +5 -16
  89. data/lib/bundler/man/bundle-remove.1 +4 -14
  90. data/lib/bundler/man/bundle-show.1 +3 -10
  91. data/lib/bundler/man/bundle-update.1 +18 -137
  92. data/lib/bundler/man/bundle-version.1 +3 -16
  93. data/lib/bundler/man/bundle-viz.1 +4 -16
  94. data/lib/bundler/man/bundle.1 +5 -44
  95. data/lib/bundler/man/gemfile.5 +24 -301
  96. data/lib/bundler/man/gemfile.5.ronn +4 -0
  97. data/lib/bundler/match_metadata.rb +4 -0
  98. data/lib/bundler/match_platform.rb +1 -1
  99. data/lib/bundler/plugin/api/source.rb +3 -2
  100. data/lib/bundler/plugin/installer.rb +1 -1
  101. data/lib/bundler/plugin.rb +3 -3
  102. data/lib/bundler/resolver/base.rb +1 -1
  103. data/lib/bundler/resolver/incompatibility.rb +1 -1
  104. data/lib/bundler/resolver/spec_group.rb +1 -4
  105. data/lib/bundler/resolver.rb +16 -16
  106. data/lib/bundler/ruby_dsl.rb +20 -12
  107. data/lib/bundler/ruby_version.rb +1 -1
  108. data/lib/bundler/rubygems_ext.rb +24 -50
  109. data/lib/bundler/rubygems_gem_installer.rb +6 -56
  110. data/lib/bundler/rubygems_integration.rb +25 -94
  111. data/lib/bundler/runtime.rb +2 -2
  112. data/lib/bundler/self_manager.rb +23 -7
  113. data/lib/bundler/settings.rb +27 -7
  114. data/lib/bundler/setup.rb +4 -1
  115. data/lib/bundler/shared_helpers.rb +35 -13
  116. data/lib/bundler/source/git/git_proxy.rb +15 -15
  117. data/lib/bundler/source/git.rb +4 -3
  118. data/lib/bundler/source/metadata.rb +15 -15
  119. data/lib/bundler/source/path.rb +7 -6
  120. data/lib/bundler/source/rubygems.rb +21 -14
  121. data/lib/bundler/source.rb +2 -0
  122. data/lib/bundler/spec_set.rb +38 -10
  123. data/lib/bundler/stub_specification.rb +1 -0
  124. data/lib/bundler/templates/Executable.bundler +1 -1
  125. data/lib/bundler/templates/newgem/README.md.tt +3 -3
  126. data/lib/bundler/templates/newgem/Rakefile.tt +2 -6
  127. data/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +1 -1
  128. data/lib/bundler/templates/newgem/standard.yml.tt +1 -1
  129. data/lib/bundler/ui/shell.rb +1 -1
  130. data/lib/bundler/vendor/connection_pool/.document +1 -0
  131. data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
  132. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +53 -6
  133. data/lib/bundler/vendor/fileutils/.document +1 -0
  134. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +8 -20
  135. data/lib/bundler/vendor/net-http-persistent/.document +1 -0
  136. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +3 -3
  137. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +2 -2
  138. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +1 -1
  139. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +34 -34
  140. data/lib/bundler/vendor/pub_grub/.document +1 -0
  141. data/lib/bundler/vendor/thor/.document +1 -0
  142. data/lib/bundler/vendor/tsort/.document +1 -0
  143. data/lib/bundler/vendor/tsort/lib/tsort.rb +3 -0
  144. data/lib/bundler/vendor/uri/.document +1 -0
  145. data/lib/bundler/vendor/uri/lib/uri/common.rb +256 -132
  146. data/lib/bundler/vendor/uri/lib/uri/generic.rb +1 -0
  147. data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +95 -31
  148. data/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  149. data/lib/bundler/vendored_net_http.rb +8 -0
  150. data/lib/bundler/vendored_persistent.rb +0 -4
  151. data/lib/bundler/vendored_timeout.rb +8 -0
  152. data/lib/bundler/version.rb +1 -1
  153. data/lib/bundler/vlad.rb +1 -1
  154. data/lib/bundler/yaml_serializer.rb +3 -3
  155. data/lib/bundler.rb +41 -32
  156. metadata +18 -5
@@ -1,152 +1,100 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE\-OUTDATED" "1" "October 2023" "" ""
5
- .
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-OUTDATED" "1" "December 2023" ""
6
4
  .SH "NAME"
7
5
  \fBbundle\-outdated\fR \- List installed gems with newer versions available
8
- .
9
6
  .SH "SYNOPSIS"
10
7
  \fBbundle outdated\fR [GEM] [\-\-local] [\-\-pre] [\-\-source] [\-\-strict] [\-\-parseable | \-\-porcelain] [\-\-group=GROUP] [\-\-groups] [\-\-patch|\-\-minor|\-\-major] [\-\-filter\-major] [\-\-filter\-minor] [\-\-filter\-patch] [\-\-only\-explicit]
11
- .
12
8
  .SH "DESCRIPTION"
13
9
  Outdated lists the names and versions of gems that have a newer version available in the given source\. Calling outdated with [GEM [GEM]] will only check for newer versions of the given gems\. Prerelease gems are ignored by default\. If your gems are up to date, Bundler will exit with a status of 0\. Otherwise, it will exit 1\.
14
- .
15
10
  .SH "OPTIONS"
16
- .
17
11
  .TP
18
12
  \fB\-\-local\fR
19
13
  Do not attempt to fetch gems remotely and use the gem cache instead\.
20
- .
21
14
  .TP
22
15
  \fB\-\-pre\fR
23
16
  Check for newer pre\-release gems\.
24
- .
25
17
  .TP
26
18
  \fB\-\-source\fR
27
19
  Check against a specific source\.
28
- .
29
20
  .TP
30
21
  \fB\-\-strict\fR
31
22
  Only list newer versions allowed by your Gemfile requirements, also respecting conservative update flags (\-\-patch, \-\-minor, \-\-major)\.
32
- .
33
23
  .TP
34
24
  \fB\-\-parseable\fR, \fB\-\-porcelain\fR
35
25
  Use minimal formatting for more parseable output\.
36
- .
37
26
  .TP
38
27
  \fB\-\-group\fR
39
28
  List gems from a specific group\.
40
- .
41
29
  .TP
42
30
  \fB\-\-groups\fR
43
31
  List gems organized by groups\.
44
- .
45
32
  .TP
46
33
  \fB\-\-minor\fR
47
34
  Prefer updating only to next minor version\.
48
- .
49
35
  .TP
50
36
  \fB\-\-major\fR
51
37
  Prefer updating to next major version (default)\.
52
- .
53
38
  .TP
54
39
  \fB\-\-patch\fR
55
40
  Prefer updating only to next patch version\.
56
- .
57
41
  .TP
58
42
  \fB\-\-filter\-major\fR
59
43
  Only list major newer versions\.
60
- .
61
44
  .TP
62
45
  \fB\-\-filter\-minor\fR
63
46
  Only list minor newer versions\.
64
- .
65
47
  .TP
66
48
  \fB\-\-filter\-patch\fR
67
49
  Only list patch newer versions\.
68
- .
69
50
  .TP
70
51
  \fB\-\-only\-explicit\fR
71
52
  Only list gems specified in your Gemfile, not their dependencies\.
72
- .
73
53
  .SH "PATCH LEVEL OPTIONS"
74
54
  See bundle update(1) \fIbundle\-update\.1\.html\fR for details\.
75
- .
76
55
  .SH "FILTERING OUTPUT"
77
56
  The 3 filtering options do not affect the resolution of versions, merely what versions are shown in the output\.
78
- .
79
57
  .P
80
58
  If the regular output shows the following:
81
- .
82
59
  .IP "" 4
83
- .
84
60
  .nf
85
-
86
61
  * Gem Current Latest Requested Groups
87
62
  * faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
88
63
  * hashie 1\.2\.0 3\.4\.6 = 1\.2\.0 default
89
64
  * headless 2\.2\.3 2\.3\.1 = 2\.2\.3 test
90
- .
91
65
  .fi
92
- .
93
66
  .IP "" 0
94
- .
95
67
  .P
96
68
  \fB\-\-filter\-major\fR would only show:
97
- .
98
69
  .IP "" 4
99
- .
100
70
  .nf
101
-
102
71
  * Gem Current Latest Requested Groups
103
72
  * hashie 1\.2\.0 3\.4\.6 = 1\.2\.0 default
104
- .
105
73
  .fi
106
- .
107
74
  .IP "" 0
108
- .
109
75
  .P
110
76
  \fB\-\-filter\-minor\fR would only show:
111
- .
112
77
  .IP "" 4
113
- .
114
78
  .nf
115
-
116
79
  * Gem Current Latest Requested Groups
117
80
  * headless 2\.2\.3 2\.3\.1 = 2\.2\.3 test
118
- .
119
81
  .fi
120
- .
121
82
  .IP "" 0
122
- .
123
83
  .P
124
84
  \fB\-\-filter\-patch\fR would only show:
125
- .
126
85
  .IP "" 4
127
- .
128
86
  .nf
129
-
130
87
  * Gem Current Latest Requested Groups
131
88
  * faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
132
- .
133
89
  .fi
134
- .
135
90
  .IP "" 0
136
- .
137
91
  .P
138
92
  Filter options can be combined\. \fB\-\-filter\-minor\fR and \fB\-\-filter\-patch\fR would show:
139
- .
140
93
  .IP "" 4
141
- .
142
94
  .nf
143
-
144
95
  * Gem Current Latest Requested Groups
145
96
  * faker 1\.6\.5 1\.6\.6 ~> 1\.4 development, test
146
- .
147
97
  .fi
148
- .
149
98
  .IP "" 0
150
- .
151
99
  .P
152
100
  Combining all three \fBfilter\fR options would be the same result as providing none of them\.
@@ -102,4 +102,5 @@ Filter options can be combined. `--filter-minor` and `--filter-patch` would show
102
102
 
103
103
  * Gem Current Latest Requested Groups
104
104
  * faker 1.6.5 1.6.6 ~> 1.4 development, test
105
+
105
106
  Combining all three `filter` options would be the same result as providing none of them.
@@ -1,41 +1,27 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE\-PLATFORM" "1" "October 2023" "" ""
5
- .
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-PLATFORM" "1" "December 2023" ""
6
4
  .SH "NAME"
7
5
  \fBbundle\-platform\fR \- Displays platform compatibility information
8
- .
9
6
  .SH "SYNOPSIS"
10
7
  \fBbundle platform\fR [\-\-ruby]
11
- .
12
8
  .SH "DESCRIPTION"
13
9
  \fBplatform\fR displays information from your Gemfile, Gemfile\.lock, and Ruby VM about your platform\.
14
- .
15
10
  .P
16
11
  For instance, using this Gemfile(5):
17
- .
18
12
  .IP "" 4
19
- .
20
13
  .nf
21
-
22
14
  source "https://rubygems\.org"
23
15
 
24
16
  ruby "3\.1\.2"
25
17
 
26
18
  gem "rack"
27
- .
28
19
  .fi
29
- .
30
20
  .IP "" 0
31
- .
32
21
  .P
33
22
  If you run \fBbundle platform\fR on Ruby 3\.1\.2, it displays the following output:
34
- .
35
23
  .IP "" 4
36
- .
37
24
  .nf
38
-
39
25
  Your platform is: x86_64\-linux
40
26
 
41
27
  Your app has gems that work on these platforms:
@@ -48,24 +34,16 @@ Your Gemfile specifies a Ruby version requirement:
48
34
  * ruby 3\.1\.2
49
35
 
50
36
  Your current platform satisfies the Ruby version requirement\.
51
- .
52
37
  .fi
53
- .
54
38
  .IP "" 0
55
- .
56
39
  .P
57
- \fBplatform\fR lists all the platforms in your \fBGemfile\.lock\fR as well as the \fBruby\fR directive if applicable from your Gemfile(5)\. It also lets you know if the \fBruby\fR directive requirement has been met\. If \fBruby\fR directive doesn\'t match the running Ruby VM, it tells you what part does not\.
58
- .
40
+ \fBplatform\fR lists all the platforms in your \fBGemfile\.lock\fR as well as the \fBruby\fR directive if applicable from your Gemfile(5)\. It also lets you know if the \fBruby\fR directive requirement has been met\. If \fBruby\fR directive doesn't match the running Ruby VM, it tells you what part does not\.
59
41
  .SH "OPTIONS"
60
- .
61
42
  .TP
62
43
  \fB\-\-ruby\fR
63
- It will display the ruby directive information, so you don\'t have to parse it from the Gemfile(5)\.
64
- .
44
+ It will display the ruby directive information, so you don't have to parse it from the Gemfile(5)\.
65
45
  .SH "SEE ALSO"
66
- .
67
46
  .IP "\(bu" 4
68
47
  bundle\-lock(1) \fIbundle\-lock\.1\.html\fR
69
- .
70
48
  .IP "" 0
71
49
 
@@ -1,81 +1,55 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE\-PLUGIN" "1" "October 2023" "" ""
5
- .
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-PLUGIN" "1" "December 2023" ""
6
4
  .SH "NAME"
7
5
  \fBbundle\-plugin\fR \- Manage Bundler plugins
8
- .
9
6
  .SH "SYNOPSIS"
10
7
  \fBbundle plugin\fR install PLUGINS [\-\-source=\fISOURCE\fR] [\-\-version=\fIversion\fR] [\-\-git|\-\-local_git=\fIgit\-url\fR] [\-\-branch=\fIbranch\fR|\-\-ref=\fIrev\fR]
11
- .
12
8
  .br
13
9
  \fBbundle plugin\fR uninstall PLUGINS
14
- .
15
10
  .br
16
11
  \fBbundle plugin\fR list
17
- .
18
12
  .br
19
13
  \fBbundle plugin\fR help [COMMAND]
20
- .
21
14
  .SH "DESCRIPTION"
22
15
  You can install, uninstall, and list plugin(s) with this command to extend functionalities of Bundler\.
23
- .
24
16
  .SH "SUB\-COMMANDS"
25
- .
26
17
  .SS "install"
27
18
  Install the given plugin(s)\.
28
- .
29
19
  .TP
30
20
  \fBbundle plugin install bundler\-graph\fR
31
21
  Install bundler\-graph gem from globally configured sources (defaults to RubyGems\.org)\. The global source, specified in source in Gemfile is ignored\.
32
- .
33
22
  .TP
34
23
  \fBbundle plugin install bundler\-graph \-\-source https://example\.com\fR
35
24
  Install bundler\-graph gem from example\.com\. The global source, specified in source in Gemfile is not considered\.
36
- .
37
25
  .TP
38
26
  \fBbundle plugin install bundler\-graph \-\-version 0\.2\.1\fR
39
27
  You can specify the version of the gem via \fB\-\-version\fR\.
40
- .
41
28
  .TP
42
29
  \fBbundle plugin install bundler\-graph \-\-git https://github\.com/rubygems/bundler\-graph\fR
43
30
  Install bundler\-graph gem from Git repository\. \fB\-\-git\fR can be replaced with \fB\-\-local\-git\fR\. You cannot use both \fB\-\-git\fR and \fB\-\-local\-git\fR\. You can use standard Git URLs like:
44
- .
45
31
  .IP
46
32
  \fBssh://[user@]host\.xz[:port]/path/to/repo\.git\fR
47
- .
48
33
  .br
49
34
  \fBhttp[s]://host\.xz[:port]/path/to/repo\.git\fR
50
- .
51
35
  .br
52
36
  \fB/path/to/repo\fR
53
- .
54
37
  .br
55
38
  \fBfile:///path/to/repo\fR
56
- .
57
39
  .IP
58
40
  When you specify \fB\-\-git\fR/\fB\-\-local\-git\fR, you can use \fB\-\-branch\fR or \fB\-\-ref\fR to specify any branch, tag, or commit hash (revision) to use\. When you specify both, only the latter is used\.
59
- .
60
41
  .SS "uninstall"
61
42
  Uninstall the plugin(s) specified in PLUGINS\.
62
- .
63
43
  .SS "list"
64
44
  List the installed plugins and available commands\.
65
- .
66
45
  .P
67
46
  No options\.
68
- .
69
47
  .SS "help"
70
48
  Describe subcommands or one specific subcommand\.
71
- .
72
49
  .P
73
50
  No options\.
74
- .
75
51
  .SH "SEE ALSO"
76
- .
77
52
  .IP "\(bu" 4
78
53
  How to write a Bundler plugin \fIhttps://bundler\.io/guides/bundler_plugins\.html\fR
79
- .
80
54
  .IP "" 0
81
55
 
@@ -1,34 +1,23 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE\-PRISTINE" "1" "October 2023" "" ""
5
- .
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-PRISTINE" "1" "December 2023" ""
6
4
  .SH "NAME"
7
5
  \fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
8
- .
9
6
  .SH "SYNOPSIS"
10
7
  \fBbundle pristine\fR
11
- .
12
8
  .SH "DESCRIPTION"
13
9
  \fBpristine\fR restores the installed gems in the bundle to their pristine condition using the local gem cache from RubyGems\. For git gems, a forced checkout will be performed\.
14
- .
15
10
  .P
16
- For further explanation, \fBbundle pristine\fR ignores unpacked files on disk\. In other words, this command utilizes the local \fB\.gem\fR cache or the gem\'s git repository as if one were installing from scratch\.
17
- .
11
+ For further explanation, \fBbundle pristine\fR ignores unpacked files on disk\. In other words, this command utilizes the local \fB\.gem\fR cache or the gem's git repository as if one were installing from scratch\.
18
12
  .P
19
- Note: the Bundler gem cannot be restored to its original state with \fBpristine\fR\. One also cannot use \fBbundle pristine\fR on gems with a \'path\' option in the Gemfile, because bundler has no original copy it can restore from\.
20
- .
13
+ Note: the Bundler gem cannot be restored to its original state with \fBpristine\fR\. One also cannot use \fBbundle pristine\fR on gems with a 'path' option in the Gemfile, because bundler has no original copy it can restore from\.
21
14
  .P
22
15
  When is it practical to use \fBbundle pristine\fR?
23
- .
24
16
  .P
25
17
  It comes in handy when a developer is debugging a gem\. \fBbundle pristine\fR is a great way to get rid of experimental changes to a gem that one may not want\.
26
- .
27
18
  .P
28
19
  Why use \fBbundle pristine\fR over \fBgem pristine \-\-all\fR?
29
- .
30
20
  .P
31
21
  Both commands are very similar\. For context: \fBbundle pristine\fR, without arguments, cleans all gems from the lockfile\. Meanwhile, \fBgem pristine \-\-all\fR cleans all installed gems for that Ruby version\.
32
- .
33
22
  .P
34
23
  If a developer forgets which gems in their project they might have been debugging, the Rubygems \fBgem pristine [GEMNAME]\fR command may be inconvenient\. One can avoid waiting for \fBgem pristine \-\-all\fR, and instead run \fBbundle pristine\fR\.
@@ -1,31 +1,21 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE\-REMOVE" "1" "October 2023" "" ""
5
- .
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-REMOVE" "1" "December 2023" ""
6
4
  .SH "NAME"
7
5
  \fBbundle\-remove\fR \- Removes gems from the Gemfile
8
- .
9
6
  .SH "SYNOPSIS"
10
- \fBbundle remove [GEM [GEM \.\.\.]] [\-\-install]\fR
11
- .
7
+ \fBbundle remove [GEM [GEM \|\.\|\.\|\.]] [\-\-install]\fR
12
8
  .SH "DESCRIPTION"
13
9
  Removes the given gems from the Gemfile while ensuring that the resulting Gemfile is still valid\. If a gem cannot be removed, a warning is printed\. If a gem is already absent from the Gemfile, and error is raised\.
14
- .
15
10
  .SH "OPTIONS"
16
- .
17
11
  .TP
18
12
  \fB\-\-install\fR
19
13
  Runs \fBbundle install\fR after the given gems have been removed from the Gemfile, which ensures that both the lockfile and the installed gems on disk are also updated to remove the given gem(s)\.
20
- .
21
14
  .P
22
15
  Example:
23
- .
24
16
  .P
25
17
  bundle remove rails
26
- .
27
18
  .P
28
19
  bundle remove rails rack
29
- .
30
20
  .P
31
21
  bundle remove rails rack \-\-install
@@ -1,22 +1,15 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "BUNDLE\-SHOW" "1" "October 2023" "" ""
5
- .
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-SHOW" "1" "December 2023" ""
6
4
  .SH "NAME"
7
5
  \fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
8
- .
9
6
  .SH "SYNOPSIS"
10
7
  \fBbundle show\fR [GEM] [\-\-paths]
11
- .
12
8
  .SH "DESCRIPTION"
13
9
  Without the [GEM] option, \fBshow\fR will print a list of the names and versions of all gems that are required by your [\fBGemfile(5)\fR][Gemfile(5)], sorted by name\.
14
- .
15
10
  .P
16
11
  Calling show with [GEM] will list the exact location of that gem on your machine\.
17
- .
18
12
  .SH "OPTIONS"
19
- .
20
13
  .TP
21
14
  \fB\-\-paths\fR
22
15
  List the paths of all gems that are required by your [\fBGemfile(5)\fR][Gemfile(5)], sorted by gem name\.