bundler 2.7.1 → 4.0.0.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1001 -902
- data/README.md +4 -4
- data/bundler.gemspec +3 -3
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/capistrano.rb +1 -19
- data/lib/bundler/checksum.rb +6 -0
- data/lib/bundler/cli/cache.rb +1 -12
- data/lib/bundler/cli/common.rb +21 -4
- data/lib/bundler/cli/config.rb +1 -2
- data/lib/bundler/cli/console.rb +5 -0
- data/lib/bundler/cli/exec.rb +29 -4
- data/lib/bundler/cli/gem.rb +19 -33
- data/lib/bundler/cli/install.rb +7 -84
- data/lib/bundler/cli/issue.rb +2 -2
- data/lib/bundler/cli/list.rb +33 -2
- data/lib/bundler/cli/lock.rb +5 -5
- data/lib/bundler/cli/plugin.rb +5 -1
- data/lib/bundler/cli/show.rb +3 -7
- data/lib/bundler/cli/update.rb +3 -3
- data/lib/bundler/cli.rb +97 -95
- data/lib/bundler/compact_index_client.rb +0 -1
- data/lib/bundler/current_ruby.rb +3 -15
- data/lib/bundler/definition.rb +122 -95
- data/lib/bundler/deployment.rb +1 -64
- data/lib/bundler/digest.rb +1 -1
- data/lib/bundler/dsl.rb +14 -36
- data/lib/bundler/endpoint_specification.rb +0 -22
- data/lib/bundler/errors.rb +1 -5
- data/lib/bundler/feature_flag.rb +0 -33
- data/lib/bundler/fetcher/compact_index.rb +1 -1
- data/lib/bundler/friendly_errors.rb +2 -2
- data/lib/bundler/index.rb +0 -7
- data/lib/bundler/inline.rb +1 -1
- data/lib/bundler/installer/gem_installer.rb +0 -11
- data/lib/bundler/installer.rb +0 -6
- data/lib/bundler/lockfile_generator.rb +1 -1
- data/lib/bundler/lockfile_parser.rb +2 -12
- data/lib/bundler/man/bundle-add.1 +1 -1
- data/lib/bundler/man/bundle-binstubs.1 +3 -6
- data/lib/bundler/man/bundle-binstubs.1.ronn +4 -6
- data/lib/bundler/man/bundle-cache.1 +2 -14
- data/lib/bundler/man/bundle-cache.1.ronn +1 -14
- data/lib/bundler/man/bundle-check.1 +2 -5
- data/lib/bundler/man/bundle-check.1.ronn +0 -5
- data/lib/bundler/man/bundle-clean.1 +1 -1
- data/lib/bundler/man/bundle-config.1 +36 -46
- data/lib/bundler/man/bundle-config.1.ronn +69 -75
- data/lib/bundler/man/bundle-console.1 +1 -1
- data/lib/bundler/man/bundle-doctor.1 +4 -4
- data/lib/bundler/man/bundle-doctor.1.ronn +4 -4
- data/lib/bundler/man/bundle-env.1 +1 -1
- data/lib/bundler/man/bundle-exec.1 +2 -5
- data/lib/bundler/man/bundle-exec.1.ronn +1 -5
- data/lib/bundler/man/bundle-fund.1 +1 -1
- data/lib/bundler/man/bundle-gem.1 +3 -6
- data/lib/bundler/man/bundle-gem.1.ronn +2 -5
- data/lib/bundler/man/bundle-help.1 +1 -1
- data/lib/bundler/man/bundle-info.1 +1 -1
- data/lib/bundler/man/bundle-init.1 +1 -1
- data/lib/bundler/man/bundle-install.1 +8 -59
- data/lib/bundler/man/bundle-install.1.ronn +12 -107
- data/lib/bundler/man/bundle-issue.1 +1 -1
- data/lib/bundler/man/bundle-licenses.1 +1 -1
- data/lib/bundler/man/bundle-list.1 +6 -1
- data/lib/bundler/man/bundle-list.1.ronn +5 -0
- data/lib/bundler/man/bundle-lock.1 +1 -1
- data/lib/bundler/man/bundle-open.1 +1 -1
- data/lib/bundler/man/bundle-outdated.1 +1 -1
- data/lib/bundler/man/bundle-platform.1 +1 -1
- data/lib/bundler/man/bundle-plugin.1 +33 -15
- data/lib/bundler/man/bundle-plugin.1.ronn +36 -15
- data/lib/bundler/man/bundle-pristine.1 +1 -1
- data/lib/bundler/man/bundle-remove.1 +2 -8
- data/lib/bundler/man/bundle-remove.1.ronn +1 -8
- data/lib/bundler/man/bundle-show.1 +2 -5
- data/lib/bundler/man/bundle-show.1.ronn +0 -4
- data/lib/bundler/man/bundle-update.1 +1 -1
- data/lib/bundler/man/bundle-version.1 +1 -1
- data/lib/bundler/man/bundle.1 +1 -10
- data/lib/bundler/man/bundle.1.ronn +0 -9
- data/lib/bundler/man/gemfile.5 +1 -1
- data/lib/bundler/man/index.txt +0 -2
- data/lib/bundler/materialization.rb +1 -1
- data/lib/bundler/plugin/installer.rb +0 -10
- data/lib/bundler/plugin/source_list.rb +1 -1
- data/lib/bundler/plugin.rb +1 -1
- data/lib/bundler/resolver/package.rb +1 -0
- data/lib/bundler/resolver.rb +1 -1
- data/lib/bundler/ruby_dsl.rb +2 -0
- data/lib/bundler/ruby_version.rb +1 -3
- data/lib/bundler/rubygems_ext.rb +1 -1
- data/lib/bundler/rubygems_gem_installer.rb +1 -1
- data/lib/bundler/rubygems_integration.rb +1 -5
- data/lib/bundler/self_manager.rb +1 -1
- data/lib/bundler/settings.rb +8 -27
- data/lib/bundler/shared_helpers.rb +8 -20
- data/lib/bundler/source/gemspec.rb +4 -0
- data/lib/bundler/source/git/git_proxy.rb +3 -11
- data/lib/bundler/source/git.rb +2 -3
- data/lib/bundler/source/path.rb +5 -7
- data/lib/bundler/source/rubygems.rb +11 -17
- data/lib/bundler/source.rb +1 -1
- data/lib/bundler/source_list.rb +4 -45
- data/lib/bundler/source_map.rb +2 -5
- data/lib/bundler/spec_set.rb +6 -15
- data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +7 -129
- data/lib/bundler/templates/newgem/circleci/config.yml.tt +12 -0
- data/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +1 -1
- data/lib/bundler/templates/newgem/ext/newgem/extconf-go.rb.tt +11 -0
- data/lib/bundler/templates/newgem/ext/newgem/go.mod.tt +5 -0
- data/lib/bundler/templates/newgem/ext/newgem/newgem-go.c.tt +2 -0
- data/lib/bundler/templates/newgem/ext/newgem/newgem.go.tt +31 -0
- data/lib/bundler/templates/newgem/github/workflows/main.yml.tt +6 -0
- data/lib/bundler/templates/newgem/gitlab-ci.yml.tt +9 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +7 -4
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +26 -23
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
- data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +50 -6
- data/lib/bundler/vendor/fileutils/lib/fileutils.rb +57 -52
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +5 -2
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +42 -6
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +3 -7
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/vendor/uri/lib/uri/common.rb +57 -15
- data/lib/bundler/vendor/uri/lib/uri/file.rb +1 -1
- data/lib/bundler/vendor/uri/lib/uri/generic.rb +34 -21
- data/lib/bundler/vendor/uri/lib/uri/http.rb +12 -0
- data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +9 -8
- data/lib/bundler/vendor/uri/lib/uri/version.rb +2 -2
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler/vlad.rb +1 -14
- data/lib/bundler.rb +6 -28
- metadata +9 -13
- data/lib/bundler/cli/inject.rb +0 -60
- data/lib/bundler/cli/viz.rb +0 -31
- data/lib/bundler/graph.rb +0 -152
- data/lib/bundler/man/bundle-inject.1 +0 -31
- data/lib/bundler/man/bundle-inject.1.ronn +0 -32
- data/lib/bundler/man/bundle-viz.1 +0 -30
- data/lib/bundler/man/bundle-viz.1.ronn +0 -36
- data/lib/bundler/similarity_detector.rb +0 -63
|
@@ -3,10 +3,10 @@ bundle-config(1) -- Set bundler configuration options
|
|
|
3
3
|
|
|
4
4
|
## SYNOPSIS
|
|
5
5
|
|
|
6
|
-
`bundle config` list<br>
|
|
7
|
-
`bundle config` [get] NAME<br>
|
|
8
|
-
`bundle config` [set] NAME VALUE<br>
|
|
9
|
-
`bundle config` unset NAME
|
|
6
|
+
`bundle config` [list]<br>
|
|
7
|
+
`bundle config` [get [--local|--global]] NAME<br>
|
|
8
|
+
`bundle config` [set [--local|--global]] NAME VALUE<br>
|
|
9
|
+
`bundle config` unset [--local|--global] NAME
|
|
10
10
|
|
|
11
11
|
## DESCRIPTION
|
|
12
12
|
|
|
@@ -19,38 +19,67 @@ Bundler loads configuration settings in this order:
|
|
|
19
19
|
3. Global config (`~/.bundle/config`)
|
|
20
20
|
4. Bundler default config
|
|
21
21
|
|
|
22
|
+
Executing `bundle` with the `BUNDLE_IGNORE_CONFIG` environment variable set will
|
|
23
|
+
cause it to ignore all configuration.
|
|
24
|
+
|
|
25
|
+
## SUB-COMMANDS
|
|
26
|
+
|
|
27
|
+
### list (default command)
|
|
28
|
+
|
|
22
29
|
Executing `bundle config list` will print a list of all bundler
|
|
23
30
|
configuration for the current bundle, and where that configuration
|
|
24
31
|
was set.
|
|
25
32
|
|
|
33
|
+
### get
|
|
34
|
+
|
|
26
35
|
Executing `bundle config get <name>` will print the value of that configuration
|
|
27
|
-
setting, and where it was set.
|
|
36
|
+
setting, and all locations where it was set.
|
|
37
|
+
|
|
38
|
+
**OPTIONS**
|
|
39
|
+
|
|
40
|
+
* `--local`:
|
|
41
|
+
Get configuration from configuration file for the local application, namely,
|
|
42
|
+
`<project_root>/.bundle/config`, or `$BUNDLE_APP_CONFIG/config` if
|
|
43
|
+
`BUNDLE_APP_CONFIG` is set.
|
|
44
|
+
|
|
45
|
+
* `--global`:
|
|
46
|
+
Get configuration from configuration file global to all bundles executed as
|
|
47
|
+
the current user, namely, from `~/.bundle/config`.
|
|
48
|
+
|
|
49
|
+
### set
|
|
28
50
|
|
|
29
51
|
Executing `bundle config set <name> <value>` defaults to setting `local`
|
|
30
52
|
configuration if executing from within a local application, otherwise it will
|
|
31
|
-
set `global` configuration.
|
|
53
|
+
set `global` configuration.
|
|
54
|
+
|
|
55
|
+
**OPTIONS**
|
|
56
|
+
|
|
57
|
+
* `--local`:
|
|
58
|
+
Executing `bundle config set --local <name> <value>` will set that configuration
|
|
59
|
+
in the directory for the local application. The configuration will be stored in
|
|
60
|
+
`<project_root>/.bundle/config`. If `BUNDLE_APP_CONFIG` is set, the configuration
|
|
61
|
+
will be stored in `$BUNDLE_APP_CONFIG/config`.
|
|
32
62
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
will be stored in
|
|
63
|
+
* `--global`:
|
|
64
|
+
Executing `bundle config set --global <name> <value>` will set that
|
|
65
|
+
configuration to the value specified for all bundles executed as the current
|
|
66
|
+
user. The configuration will be stored in `~/.bundle/config`. If <name> already
|
|
67
|
+
is set, <name> will be overridden and user will be warned.
|
|
37
68
|
|
|
38
|
-
|
|
39
|
-
configuration to the value specified for all bundles executed as the current
|
|
40
|
-
user. The configuration will be stored in `~/.bundle/config`. If <name> already
|
|
41
|
-
is set, <name> will be overridden and user will be warned.
|
|
69
|
+
### unset
|
|
42
70
|
|
|
43
71
|
Executing `bundle config unset <name>` will delete the configuration in both
|
|
44
72
|
local and global sources.
|
|
45
73
|
|
|
46
|
-
|
|
47
|
-
only from the user configuration.
|
|
74
|
+
**OPTIONS**
|
|
48
75
|
|
|
49
|
-
|
|
50
|
-
|
|
76
|
+
* `--local`:
|
|
77
|
+
Executing `bundle config unset --local <name>` will delete the configuration
|
|
78
|
+
only from the local application.
|
|
51
79
|
|
|
52
|
-
|
|
53
|
-
|
|
80
|
+
* `--global`:
|
|
81
|
+
Executing `bundle config unset --global <name>` will delete the configuration
|
|
82
|
+
only from the user configuration.
|
|
54
83
|
|
|
55
84
|
## CONFIGURATION KEYS
|
|
56
85
|
|
|
@@ -77,13 +106,17 @@ the environment variable `BUNDLE_LOCAL__RACK`.
|
|
|
77
106
|
The following is a list of all configuration keys and their purpose. You can
|
|
78
107
|
learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
79
108
|
|
|
80
|
-
* `allow_offline_install` (`BUNDLE_ALLOW_OFFLINE_INSTALL`):
|
|
81
|
-
Allow Bundler to use cached data when installing without network access.
|
|
82
109
|
* `auto_install` (`BUNDLE_AUTO_INSTALL`):
|
|
83
110
|
Automatically run `bundle install` when gems are missing.
|
|
84
111
|
* `bin` (`BUNDLE_BIN`):
|
|
85
|
-
|
|
86
|
-
|
|
112
|
+
If configured, `bundle binstubs` will install executables from gems in the
|
|
113
|
+
bundle to the specified directory. Otherwise it will create them in a `bin`
|
|
114
|
+
directory relative to the Gemfile directory. These executables run in
|
|
115
|
+
Bundler's context. If used, you might add this directory to your
|
|
116
|
+
environment's `PATH` variable. For instance, if the `rails` gem comes with a
|
|
117
|
+
`rails` executable, `bundle binstubs` will create a `bin/rails` executable
|
|
118
|
+
that ensures that all referred dependencies will be resolved using the
|
|
119
|
+
bundled gems.
|
|
87
120
|
* `cache_all` (`BUNDLE_CACHE_ALL`):
|
|
88
121
|
Cache all gems, including path and git gems. This needs to be explicitly
|
|
89
122
|
before bundler 4, but will be the default on bundler 4.
|
|
@@ -157,19 +190,26 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
157
190
|
The number of gems Bundler can install in parallel. Defaults to the number of
|
|
158
191
|
available processors.
|
|
159
192
|
* `lockfile_checksums` (`BUNDLE_LOCKFILE_CHECKSUMS`):
|
|
160
|
-
Whether Bundler should include a checksums section in new lockfiles, to protect from compromised gem sources.
|
|
193
|
+
Whether Bundler should include a checksums section in new lockfiles, to protect from compromised gem sources. Defaults to true.
|
|
161
194
|
* `no_install` (`BUNDLE_NO_INSTALL`):
|
|
162
195
|
Whether `bundle package` should skip installing gems.
|
|
163
196
|
* `no_prune` (`BUNDLE_NO_PRUNE`):
|
|
164
197
|
Whether Bundler should leave outdated gems unpruned when caching.
|
|
165
198
|
* `only` (`BUNDLE_ONLY`):
|
|
166
199
|
A space-separated list of groups to install only gems of the specified groups.
|
|
200
|
+
Please check carefully if you want to install also gems without a group, because
|
|
201
|
+
they get put inside `default` group. For example `only test:default` will install
|
|
202
|
+
all gems specified in test group and without one.
|
|
167
203
|
* `path` (`BUNDLE_PATH`):
|
|
168
204
|
The location on disk where all gems in your bundle will be located regardless
|
|
169
205
|
of `$GEM_HOME` or `$GEM_PATH` values. Bundle gems not found in this location
|
|
170
|
-
will be installed by `bundle install`.
|
|
171
|
-
|
|
172
|
-
before Bundler 4.
|
|
206
|
+
will be installed by `bundle install`. When not set, Bundler install by
|
|
207
|
+
default to a `.bundle` directory relative to repository root in Bundler 4,
|
|
208
|
+
and to the default system path (`Gem.dir`) before Bundler 4. That means that
|
|
209
|
+
before Bundler 4, Bundler shares this location with Rubygems, and `gem
|
|
210
|
+
install ...` will have gems installed in the same location and therefore,
|
|
211
|
+
gems installed without `path` set will show up by calling `gem list`. This
|
|
212
|
+
will not be the case in Bundler 4.
|
|
173
213
|
* `path.system` (`BUNDLE_PATH__SYSTEM`):
|
|
174
214
|
Whether Bundler will install gems into the default system path (`Gem.dir`).
|
|
175
215
|
* `plugins` (`BUNDLE_PLUGINS`):
|
|
@@ -224,52 +264,6 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
224
264
|
* `without` (`BUNDLE_WITHOUT`):
|
|
225
265
|
A space-separated or `:`-separated list of groups whose gems bundler should not install.
|
|
226
266
|
|
|
227
|
-
## REMEMBERING OPTIONS
|
|
228
|
-
|
|
229
|
-
Flags passed to `bundle install` or the Bundler runtime, such as `--path foo` or
|
|
230
|
-
`--without production`, are remembered between commands and saved to your local
|
|
231
|
-
application's configuration (normally, `./.bundle/config`).
|
|
232
|
-
|
|
233
|
-
However, this will be changed in bundler 4, so it's better not to rely on this
|
|
234
|
-
behavior. If these options must be remembered, it's better to set them using
|
|
235
|
-
`bundle config` (e.g., `bundle config set --local path foo`).
|
|
236
|
-
|
|
237
|
-
The flags that can be configured are:
|
|
238
|
-
|
|
239
|
-
* `--bin`:
|
|
240
|
-
Creates a directory (defaults to `~/bin`) and place any executables from the
|
|
241
|
-
gem there. These executables run in Bundler's context. If used, you might add
|
|
242
|
-
this directory to your environment's `PATH` variable. For instance, if the
|
|
243
|
-
`rails` gem comes with a `rails` executable, this flag will create a
|
|
244
|
-
`bin/rails` executable that ensures that all referred dependencies will be
|
|
245
|
-
resolved using the bundled gems.
|
|
246
|
-
|
|
247
|
-
* `--deployment`:
|
|
248
|
-
In deployment mode, Bundler will 'roll-out' the bundle for
|
|
249
|
-
`production` use. Please check carefully if you want to have this option
|
|
250
|
-
enabled in `development` or `test` environments.
|
|
251
|
-
|
|
252
|
-
* `--only`:
|
|
253
|
-
A space-separated list of groups to install only gems of the specified groups.
|
|
254
|
-
Please check carefully if you want to install also gems without a group, cause
|
|
255
|
-
they get put inside `default` group. For example `only test:default` will install
|
|
256
|
-
all gems specified in test group and without one.
|
|
257
|
-
|
|
258
|
-
* `--path`:
|
|
259
|
-
The location to install the specified gems to. This defaults to Rubygems'
|
|
260
|
-
setting. Bundler shares this location with Rubygems, `gem install ...` will
|
|
261
|
-
have gem installed there, too. Therefore, gems installed without a
|
|
262
|
-
`--path ...` setting will show up by calling `gem list`. Accordingly, gems
|
|
263
|
-
installed to other locations will not get listed.
|
|
264
|
-
|
|
265
|
-
* `--without`:
|
|
266
|
-
A space-separated or `:`-separated list of groups referencing gems to skip during
|
|
267
|
-
installation.
|
|
268
|
-
|
|
269
|
-
* `--with`:
|
|
270
|
-
A space-separated or `:`-separated list of **optional** groups referencing gems to
|
|
271
|
-
include during installation.
|
|
272
|
-
|
|
273
267
|
## BUILD OPTIONS
|
|
274
268
|
|
|
275
269
|
You can use `bundle config` to give Bundler the flags to pass to the gem
|
|
@@ -366,7 +360,7 @@ Or you can set the credentials as an environment variable like this:
|
|
|
366
360
|
|
|
367
361
|
For gems with a git source with HTTP(S) URL you can specify credentials like so:
|
|
368
362
|
|
|
369
|
-
bundle config set --global https://github.com/
|
|
363
|
+
bundle config set --global https://github.com/ruby/rubygems.git username:password
|
|
370
364
|
|
|
371
365
|
Or you can set the credentials as an environment variable like so:
|
|
372
366
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-CONSOLE" "1" "
|
|
3
|
+
.TH "BUNDLE\-CONSOLE" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-console\fR \- Open an IRB session with the bundle pre\-loaded
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-DOCTOR" "1" "
|
|
3
|
+
.TH "BUNDLE\-DOCTOR" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-doctor\fR \- Checks the bundle for common problems
|
|
6
6
|
.SH "SYNOPSIS"
|
|
7
7
|
\fBbundle doctor [diagnose]\fR [\-\-quiet] [\-\-gemfile=GEMFILE] [\-\-ssl]
|
|
8
8
|
.br
|
|
9
|
-
\fBbundle doctor ssl\fR [\-\-host=HOST] [\-\-tls\-version=VERSION] [\-\-verify\-mode=MODE]
|
|
9
|
+
\fBbundle doctor ssl\fR [\-\-host=HOST] [\-\-tls\-version=TLS\-VERSION] [\-\-verify\-mode=VERIFY\-MODE]
|
|
10
10
|
.br
|
|
11
11
|
\fBbundle doctor\fR help [COMMAND]
|
|
12
12
|
.SH "DESCRIPTION"
|
|
@@ -57,12 +57,12 @@ Open a TLS connection and verify the outcome\.
|
|
|
57
57
|
\fB\-\-host=HOST\fR
|
|
58
58
|
Perform the diagnostic on HOST\. Defaults to \fBrubygems\.org\fR\.
|
|
59
59
|
.TP
|
|
60
|
-
\fB\-\-tls\-version=VERSION\fR
|
|
60
|
+
\fB\-\-tls\-version=TLS\-VERSION\fR
|
|
61
61
|
Specify the TLS version when opening the connection to HOST\.
|
|
62
62
|
.IP
|
|
63
63
|
Accepted values are: \fB1\.1\fR or \fB1\.2\fR\.
|
|
64
64
|
.TP
|
|
65
|
-
\fB\-\-verify\-mode=MODE\fR
|
|
65
|
+
\fB\-\-verify\-mode=VERIFY\-MODE\fR
|
|
66
66
|
Specify the TLS verify mode when opening the connection to HOST\. Defaults to \fBSSL_VERIFY_PEER\fR\.
|
|
67
67
|
.IP
|
|
68
68
|
Accepted values are: \fBCLIENT_ONCE\fR, \fBFAIL_IF_NO_PEER_CERT\fR, \fBNONE\fR, \fBPEER\fR\.
|
|
@@ -7,8 +7,8 @@ bundle-doctor(1) -- Checks the bundle for common problems
|
|
|
7
7
|
[--gemfile=GEMFILE]
|
|
8
8
|
[--ssl]<br>
|
|
9
9
|
`bundle doctor ssl` [--host=HOST]
|
|
10
|
-
[--tls-version=VERSION]
|
|
11
|
-
[--verify-mode=MODE]<br>
|
|
10
|
+
[--tls-version=TLS-VERSION]
|
|
11
|
+
[--verify-mode=VERIFY-MODE]<br>
|
|
12
12
|
`bundle doctor` help [COMMAND]
|
|
13
13
|
|
|
14
14
|
## DESCRIPTION
|
|
@@ -65,12 +65,12 @@ The diagnostic will perform a few checks such as:
|
|
|
65
65
|
* `--host=HOST`:
|
|
66
66
|
Perform the diagnostic on HOST. Defaults to `rubygems.org`.
|
|
67
67
|
|
|
68
|
-
* `--tls-version=VERSION`:
|
|
68
|
+
* `--tls-version=TLS-VERSION`:
|
|
69
69
|
Specify the TLS version when opening the connection to HOST.
|
|
70
70
|
|
|
71
71
|
Accepted values are: `1.1` or `1.2`.
|
|
72
72
|
|
|
73
|
-
* `--verify-mode=MODE`:
|
|
73
|
+
* `--verify-mode=VERIFY-MODE`:
|
|
74
74
|
Specify the TLS verify mode when opening the connection to HOST.
|
|
75
75
|
Defaults to `SSL_VERIFY_PEER`.
|
|
76
76
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-ENV" "1" "
|
|
3
|
+
.TH "BUNDLE\-ENV" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-env\fR \- Print information about the environment Bundler is running under
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-EXEC" "1" "
|
|
3
|
+
.TH "BUNDLE\-EXEC" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
|
6
6
|
.SH "SYNOPSIS"
|
|
7
|
-
\fBbundle exec\fR [\-\-
|
|
7
|
+
\fBbundle exec\fR [\-\-gemfile=GEMFILE] \fIcommand\fR
|
|
8
8
|
.SH "DESCRIPTION"
|
|
9
9
|
This command executes the command, making all gems specified in the [\fBGemfile(5)\fR][Gemfile(5)] available to \fBrequire\fR in Ruby programs\.
|
|
10
10
|
.P
|
|
@@ -13,9 +13,6 @@ Essentially, if you would normally have run something like \fBrspec spec/my_spec
|
|
|
13
13
|
Note that \fBbundle exec\fR does not require that an executable is available on your shell's \fB$PATH\fR\.
|
|
14
14
|
.SH "OPTIONS"
|
|
15
15
|
.TP
|
|
16
|
-
\fB\-\-keep\-file\-descriptors\fR
|
|
17
|
-
Passes all file descriptors to the new processes\. Default is true from bundler version 2\.2\.26\. Setting it to false is now deprecated\.
|
|
18
|
-
.TP
|
|
19
16
|
\fB\-\-gemfile=GEMFILE\fR
|
|
20
17
|
Use the specified gemfile instead of [\fBGemfile(5)\fR][Gemfile(5)]\.
|
|
21
18
|
.SH "BUNDLE INSTALL \-\-BINSTUBS"
|
|
@@ -3,7 +3,7 @@ bundle-exec(1) -- Execute a command in the context of the bundle
|
|
|
3
3
|
|
|
4
4
|
## SYNOPSIS
|
|
5
5
|
|
|
6
|
-
`bundle exec` [--
|
|
6
|
+
`bundle exec` [--gemfile=GEMFILE] <command>
|
|
7
7
|
|
|
8
8
|
## DESCRIPTION
|
|
9
9
|
|
|
@@ -20,10 +20,6 @@ available on your shell's `$PATH`.
|
|
|
20
20
|
|
|
21
21
|
## OPTIONS
|
|
22
22
|
|
|
23
|
-
* `--keep-file-descriptors`:
|
|
24
|
-
Passes all file descriptors to the new processes. Default is true from
|
|
25
|
-
bundler version 2.2.26. Setting it to false is now deprecated.
|
|
26
|
-
|
|
27
23
|
* `--gemfile=GEMFILE`:
|
|
28
24
|
Use the specified gemfile instead of [`Gemfile(5)`][Gemfile(5)].
|
|
29
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-FUND" "1" "
|
|
3
|
+
.TH "BUNDLE\-FUND" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-fund\fR \- Lists information about gems seeking funding assistance
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-GEM" "1" "
|
|
3
|
+
.TH "BUNDLE\-GEM" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -38,8 +38,8 @@ Add a \fBCHANGELOG\.md\fR file to the root of the generated project\. If this op
|
|
|
38
38
|
\fB\-\-no\-changelog\fR
|
|
39
39
|
Do not create a \fBCHANGELOG\.md\fR (overrides \fB\-\-changelog\fR specified in the global config)\.
|
|
40
40
|
.TP
|
|
41
|
-
\fB\-\-ext=c\fR, \fB\-\-ext=rust\fR
|
|
42
|
-
Add boilerplate for C or Rust (currently magnus \fIhttps://docs\.rs/magnus\fR based) extension code to the generated project\. This behavior is disabled by default\.
|
|
41
|
+
\fB\-\-ext=c\fR, \fB\-\-ext=go\fR, \fB\-\-ext=rust\fR
|
|
42
|
+
Add boilerplate for C, Go (currently go\-gem\-wrapper \fIhttps://github\.com/ruby\-go\-gem/go\-gem\-wrapper\fR based) or Rust (currently magnus \fIhttps://docs\.rs/magnus\fR based) extension code to the generated project\. This behavior is disabled by default\.
|
|
43
43
|
.TP
|
|
44
44
|
\fB\-\-no\-ext\fR
|
|
45
45
|
Do not add extension code (overrides \fB\-\-ext\fR specified in the global config)\.
|
|
@@ -92,9 +92,6 @@ When Bundler is unconfigured, an interactive prompt will be displayed and the an
|
|
|
92
92
|
\fB\-\-no\-linter\fR
|
|
93
93
|
Do not add a linter (overrides \fB\-\-linter\fR specified in the global config)\.
|
|
94
94
|
.TP
|
|
95
|
-
\fB\-\-rubocop\fR
|
|
96
|
-
Add rubocop to the generated Rakefile and gemspec\. Set a default with \fBbundle config set \-\-global gem\.rubocop true\fR\.
|
|
97
|
-
.TP
|
|
98
95
|
\fB\-\-edit=EDIT\fR, \fB\-e=EDIT\fR
|
|
99
96
|
Open the resulting GEM_NAME\.gemspec in EDIT, or the default editor if not specified\. The default is \fB$BUNDLER_EDITOR\fR, \fB$VISUAL\fR, or \fB$EDITOR\fR\.
|
|
100
97
|
.TP
|
|
@@ -51,8 +51,8 @@ configuration file using the following names:
|
|
|
51
51
|
Do not create a `CHANGELOG.md` (overrides `--changelog` specified in the
|
|
52
52
|
global config).
|
|
53
53
|
|
|
54
|
-
* `--ext=c`, `--ext=rust`:
|
|
55
|
-
Add boilerplate for C or Rust (currently [magnus](https://docs.rs/magnus) based) extension code to the generated project. This behavior
|
|
54
|
+
* `--ext=c`, `--ext=go`, `--ext=rust`:
|
|
55
|
+
Add boilerplate for C, Go (currently [go-gem-wrapper](https://github.com/ruby-go-gem/go-gem-wrapper) based) or Rust (currently [magnus](https://docs.rs/magnus) based) extension code to the generated project. This behavior
|
|
56
56
|
is disabled by default.
|
|
57
57
|
|
|
58
58
|
* `--no-ext`:
|
|
@@ -135,9 +135,6 @@ configuration file using the following names:
|
|
|
135
135
|
* `--no-linter`:
|
|
136
136
|
Do not add a linter (overrides `--linter` specified in the global config).
|
|
137
137
|
|
|
138
|
-
* `--rubocop`:
|
|
139
|
-
Add rubocop to the generated Rakefile and gemspec. Set a default with `bundle config set --global gem.rubocop true`.
|
|
140
|
-
|
|
141
138
|
* `--edit=EDIT`, `-e=EDIT`:
|
|
142
139
|
Open the resulting GEM_NAME.gemspec in EDIT, or the default editor if not
|
|
143
140
|
specified. The default is `$BUNDLER_EDITOR`, `$VISUAL`, or `$EDITOR`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-HELP" "1" "
|
|
3
|
+
.TH "BUNDLE\-HELP" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-help\fR \- Displays detailed help for each subcommand
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-INFO" "1" "
|
|
3
|
+
.TH "BUNDLE\-INFO" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-info\fR \- Show information for the given gem in your bundle
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-INIT" "1" "
|
|
3
|
+
.TH "BUNDLE\-INIT" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-INSTALL" "1" "
|
|
3
|
+
.TH "BUNDLE\-INSTALL" "1" "September 2025" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
|
6
6
|
.SH "SYNOPSIS"
|
|
7
|
-
\fBbundle install\fR [\-\-
|
|
7
|
+
\fBbundle install\fR [\-\-force] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-no\-cache] [\-\-prefer\-local] [\-\-quiet] [\-\-retry=NUMBER] [\-\-standalone[=GROUP[ GROUP\|\.\|\.\|\.]]] [\-\-trust\-policy=TRUST\-POLICY] [\-\-target\-rbconfig=TARGET\-RBCONFIG]
|
|
8
8
|
.SH "DESCRIPTION"
|
|
9
9
|
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\.
|
|
10
10
|
.P
|
|
@@ -12,31 +12,10 @@ If a \fBGemfile\.lock\fR does exist, and you have not updated your Gemfile(5), B
|
|
|
12
12
|
.P
|
|
13
13
|
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\.
|
|
14
14
|
.SH "OPTIONS"
|
|
15
|
-
The \fB\-\-clean\fR, \fB\-\-deployment\fR, \fB\-\-frozen\fR, \fB\-\-no\-prune\fR, \fB\-\-path\fR, \fB\-\-shebang\fR, \fB\-\-system\fR, \fB\-\-without\fR and \fB\-\-with\fR options are deprecated because they only make sense if they are applied to every subsequent \fBbundle install\fR run automatically and that requires \fBbundler\fR to silently remember them\. Since \fBbundler\fR will no longer remember CLI flags in future versions, \fBbundle config\fR (see bundle\-config(1)) should be used to apply them permanently\.
|
|
16
|
-
.TP
|
|
17
|
-
\fB\-\-binstubs[=BINSTUBS]\fR
|
|
18
|
-
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\.
|
|
19
|
-
.IP
|
|
20
|
-
Creates a directory (defaults to \fB~/bin\fR when the option is used without a value, or to the given \fB<BINSTUBS>\fR directory otherwise) 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\.
|
|
21
|
-
.TP
|
|
22
|
-
\fB\-\-clean\fR
|
|
23
|
-
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\.
|
|
24
|
-
.IP
|
|
25
|
-
This option is deprecated in favor of the \fBclean\fR setting\.
|
|
26
|
-
.TP
|
|
27
|
-
\fB\-\-deployment\fR
|
|
28
|
-
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\.
|
|
29
|
-
.IP
|
|
30
|
-
This option is deprecated in favor of the \fBdeployment\fR setting\.
|
|
31
15
|
.TP
|
|
32
16
|
\fB\-\-force\fR, \fB\-\-redownload\fR
|
|
33
17
|
Force reinstalling every gem, even if already installed\.
|
|
34
18
|
.TP
|
|
35
|
-
\fB\-\-frozen\fR
|
|
36
|
-
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\.
|
|
37
|
-
.IP
|
|
38
|
-
This option is deprecated in favor of the \fBfrozen\fR setting\.
|
|
39
|
-
.TP
|
|
40
19
|
\fB\-\-full\-index\fR
|
|
41
20
|
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\.
|
|
42
21
|
.TP
|
|
@@ -55,52 +34,22 @@ Force using locally installed gems, or gems already present in Rubygems' cache o
|
|
|
55
34
|
\fB\-\-no\-cache\fR
|
|
56
35
|
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\.
|
|
57
36
|
.TP
|
|
58
|
-
\fB\-\-no\-prune\fR
|
|
59
|
-
Don't remove stale gems from the cache when the installation finishes\.
|
|
60
|
-
.IP
|
|
61
|
-
This option is deprecated in favor of the \fBno_prune\fR setting\.
|
|
62
|
-
.TP
|
|
63
|
-
\fB\-\-path=PATH\fR
|
|
64
|
-
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\.
|
|
65
|
-
.IP
|
|
66
|
-
This option is deprecated in favor of the \fBpath\fR setting\.
|
|
67
|
-
.TP
|
|
68
37
|
\fB\-\-quiet\fR
|
|
69
38
|
Do not print progress information to the standard output\.
|
|
70
39
|
.TP
|
|
71
40
|
\fB\-\-retry=[<number>]\fR
|
|
72
41
|
Retry failed network or git requests for \fInumber\fR times\.
|
|
73
42
|
.TP
|
|
74
|
-
\fB\-\-shebang=SHEBANG\fR
|
|
75
|
-
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\.
|
|
76
|
-
.IP
|
|
77
|
-
This option is deprecated in favor of the \fBshebang\fR setting\.
|
|
78
|
-
.TP
|
|
79
43
|
\fB\-\-standalone[=<list>]\fR
|
|
80
|
-
Makes a bundle that can work without depending on Rubygems or Bundler at runtime\. A space separated list of groups to install can 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\.
|
|
81
|
-
.TP
|
|
82
|
-
\fB\-\-system\fR
|
|
83
|
-
Installs the gems specified in the bundle to the system's Rubygems location\. This overrides any previous configuration of \fB\-\-path\fR\.
|
|
84
|
-
.IP
|
|
85
|
-
This option is deprecated in favor of the \fBsystem\fR setting\.
|
|
44
|
+
Makes a bundle that can work without depending on Rubygems or Bundler at runtime\. A space separated list of groups to install can 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\.
|
|
86
45
|
.TP
|
|
87
46
|
\fB\-\-trust\-policy=TRUST\-POLICY\fR
|
|
88
47
|
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\.
|
|
89
48
|
.TP
|
|
90
49
|
\fB\-\-target\-rbconfig=TARGET\-RBCONFIG\fR
|
|
91
50
|
Path to rbconfig\.rb for the deployment target platform\.
|
|
92
|
-
.TP
|
|
93
|
-
\fB\-\-with=<list>\fR
|
|
94
|
-
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\.
|
|
95
|
-
.IP
|
|
96
|
-
This option is deprecated in favor of the \fBwith\fR setting\.
|
|
97
|
-
.TP
|
|
98
|
-
\fB\-\-without=<list>\fR
|
|
99
|
-
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\.
|
|
100
|
-
.IP
|
|
101
|
-
This option is deprecated in favor of the \fBwithout\fR setting\.
|
|
102
51
|
.SH "DEPLOYMENT MODE"
|
|
103
|
-
Bundler's defaults are optimized for development\. To switch to defaults optimized for deployment and for CI, use the \
|
|
52
|
+
Bundler's defaults are optimized for development\. To switch to defaults optimized for deployment and for CI, use the \fBdeployment\fR setting\. Do not activate deployment mode on development machines, as it will cause an error when the Gemfile(5) is modified\.
|
|
104
53
|
.IP "1." 4
|
|
105
54
|
A \fBGemfile\.lock\fR is required\.
|
|
106
55
|
.IP
|
|
@@ -120,14 +69,14 @@ In development, it's convenient to share the gems used in your application with
|
|
|
120
69
|
.IP
|
|
121
70
|
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\.
|
|
122
71
|
.IP
|
|
123
|
-
As a result, \fBbundle install
|
|
72
|
+
As a result, when \fBdeployment\fR is configured, \fBbundle install\fR installs gems to the \fBvendor/bundle\fR directory in the application\. This may be overridden using the \fBpath\fR setting\.
|
|
124
73
|
.IP "" 0
|
|
125
74
|
.SH "INSTALLING GROUPS"
|
|
126
75
|
By default, \fBbundle install\fR will install all gems in all groups in your Gemfile(5), except those declared for a different platform\.
|
|
127
76
|
.P
|
|
128
|
-
However, you can explicitly tell Bundler to skip installing certain groups with the \
|
|
77
|
+
However, you can explicitly tell Bundler to skip installing certain groups with the \fBwithout\fR setting\. This setting takes a space\-separated list of groups\.
|
|
129
78
|
.P
|
|
130
|
-
While the \
|
|
79
|
+
While the \fBwithout\fR setting will skip \fIinstalling\fR the gems in the specified groups, \fBbundle install\fR will still \fIdownload\fR those gems and use them to resolve the dependencies of every gem in your Gemfile(5)\.
|
|
131
80
|
.P
|
|
132
81
|
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\.
|
|
133
82
|
.P
|
|
@@ -148,7 +97,7 @@ end
|
|
|
148
97
|
.P
|
|
149
98
|
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)\.
|
|
150
99
|
.P
|
|
151
|
-
When you
|
|
100
|
+
When you configure \fBbundle config 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\.
|
|
152
101
|
.P
|
|
153
102
|
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\.
|
|
154
103
|
.P
|