bundler 1.16.2 → 1.16.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/bundler.rb +8 -5
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/current_ruby.rb +1 -0
- data/lib/bundler/installer/gem_installer.rb +5 -3
- data/lib/bundler/process_lock.rb +1 -1
- data/lib/bundler/shared_helpers.rb +13 -2
- data/lib/bundler/source/rubygems.rb +6 -2
- data/lib/bundler/source/rubygems/remote.rb +4 -1
- data/lib/bundler/templates/newgem/travis.yml.tt +2 -0
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-add.1 +1 -1
- data/man/bundle-add.1.txt +1 -1
- data/man/bundle-binstubs.1 +2 -2
- data/man/bundle-binstubs.1.txt +2 -2
- data/man/bundle-binstubs.ronn +1 -1
- data/man/bundle-check.1 +1 -1
- data/man/bundle-check.1.txt +1 -1
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +1 -1
- data/man/bundle-config.1 +4 -4
- data/man/bundle-config.1.txt +11 -11
- data/man/bundle-config.ronn +4 -4
- data/man/bundle-doctor.1 +1 -1
- data/man/bundle-doctor.1.txt +1 -1
- data/man/bundle-exec.1 +3 -3
- data/man/bundle-exec.1.txt +7 -7
- data/man/bundle-exec.ronn +2 -2
- data/man/bundle-gem.1 +2 -2
- data/man/bundle-gem.1.txt +2 -2
- data/man/bundle-gem.ronn +1 -1
- data/man/bundle-info.1 +1 -1
- data/man/bundle-info.1.txt +1 -1
- data/man/bundle-init.1 +1 -1
- data/man/bundle-init.1.txt +1 -1
- data/man/bundle-inject.1 +1 -1
- data/man/bundle-inject.1.txt +1 -1
- data/man/bundle-install.1 +2 -2
- data/man/bundle-install.1.txt +2 -2
- data/man/bundle-install.ronn +1 -1
- data/man/bundle-list.1 +1 -1
- data/man/bundle-list.1.txt +1 -1
- data/man/bundle-lock.1 +2 -2
- data/man/bundle-lock.1.txt +2 -2
- data/man/bundle-lock.ronn +1 -1
- data/man/bundle-open.1 +1 -1
- data/man/bundle-open.1.txt +1 -1
- data/man/bundle-outdated.1 +2 -2
- data/man/bundle-outdated.1.txt +2 -2
- data/man/bundle-outdated.ronn +1 -1
- data/man/bundle-package.1 +3 -3
- data/man/bundle-package.1.txt +6 -6
- data/man/bundle-package.ronn +3 -3
- data/man/bundle-platform.1 +1 -1
- data/man/bundle-platform.1.txt +1 -1
- data/man/bundle-pristine.1 +1 -1
- data/man/bundle-pristine.1.txt +1 -1
- data/man/bundle-show.1 +1 -1
- data/man/bundle-show.1.txt +1 -1
- data/man/bundle-update.1 +8 -8
- data/man/bundle-update.1.txt +62 -61
- data/man/bundle-update.ronn +8 -8
- data/man/bundle-viz.1 +2 -2
- data/man/bundle-viz.1.txt +3 -3
- data/man/bundle-viz.ronn +1 -1
- data/man/bundle.1 +19 -19
- data/man/bundle.1.txt +19 -19
- data/man/bundle.ronn +18 -18
- data/man/gemfile.5 +9 -3
- data/man/gemfile.5.ronn +15 -2
- data/man/gemfile.5.txt +36 -23
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 897f39bcd75dd113d5b7a265937b90f76aea4fde22206628e9a8975f6028d79a
|
4
|
+
data.tar.gz: 503ee119ef7bce662c77670e39ca9766954ec392923c84742052508499e1768b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '034865883b48cf57ac63225584bd6a466c3a8b91ac47328af41a6a153c3fe6b054b36b0a55d71e79a91014e04f8e7c4a2835b3edaeb1ff53b07fc13af5c79b10'
|
7
|
+
data.tar.gz: a32cb54b35b9c498390711b60e5212268fc88d90f02d339c4d70344a740272098a20226a0bdd1544af558dfbd98e7c4c9c3c77e24edcf1f362ad99d94efe7349
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
## 1.16.3 (2018-07-17)
|
2
|
+
|
3
|
+
Features:
|
4
|
+
|
5
|
+
- Support URI::File of Ruby 2.6 (@hsbt)
|
6
|
+
|
7
|
+
Bugfixes:
|
8
|
+
|
9
|
+
- Expand symlinks during setup to allow Bundler to load correctly when using symlinks in $GEM_HOME ([#6465](https://github.com/bundler/bundler/issues/6465), @ojab, @indirect)
|
10
|
+
- Dont let Bundler create temporary folders for gem installs which are owned by root ([#6258](https://github.com/bundler/bundler/issues/6258), @colby-swandale)
|
11
|
+
- Don't fallback to using temporary directories when needed directories already exist ([#6546](https://github.com/bundler/bundler/issues/6546), @brodock)
|
12
|
+
- Use SharedHelpers.filesystem_access when reading a Gemfile so friendly error messages can be given to the user ([#6541](https://github.com/bundler/bundler/issues/6541), @segiddins)
|
13
|
+
- Check if source responds to `#remotes` before printing gem install error message ([#6211](https://github.com/bundler/bundler/issues/6211), @colby-swandale)
|
14
|
+
- Handle Errno::ENOTSUP in the Bundler Process Lock to prevent exceptions when using NFS mounts ([#6566](https://github.com/bundler/bundler/issues/6566), @colby-swandale)
|
15
|
+
- Respect encodings when reading gemspecs ([#6598](https://github.com/bundler/bundler/issues/6598), @deivid-rodriguez)
|
16
|
+
|
17
|
+
Documentation:
|
18
|
+
|
19
|
+
- Fix links between manual pages (@BanzaiMan)
|
20
|
+
- Add warning to Gemfile documentation for the use of the `source` option when declaring gems ([#6280](https://github.com/bundler/bundler/issues/6280), @forestgagnon)
|
21
|
+
|
1
22
|
## 1.16.2 (2018-04-20)
|
2
23
|
|
3
24
|
Changes:
|
data/lib/bundler.rb
CHANGED
@@ -159,12 +159,13 @@ module Bundler
|
|
159
159
|
def user_home
|
160
160
|
@user_home ||= begin
|
161
161
|
home = Bundler.rubygems.user_home
|
162
|
+
bundle_home = home ? File.join(home, ".bundle") : nil
|
162
163
|
|
163
164
|
warning = if home.nil?
|
164
165
|
"Your home directory is not set."
|
165
166
|
elsif !File.directory?(home)
|
166
167
|
"`#{home}` is not a directory."
|
167
|
-
elsif !File.writable?(home)
|
168
|
+
elsif !File.writable?(home) && (!File.directory?(bundle_home) || !File.writable?(bundle_home))
|
168
169
|
"`#{home}` is not writable."
|
169
170
|
end
|
170
171
|
|
@@ -359,8 +360,8 @@ EOF
|
|
359
360
|
@requires_sudo = settings.allow_sudo? && sudo_present && sudo_needed
|
360
361
|
end
|
361
362
|
|
362
|
-
def mkdir_p(path)
|
363
|
-
if requires_sudo?
|
363
|
+
def mkdir_p(path, options = {})
|
364
|
+
if requires_sudo? && !options[:no_sudo]
|
364
365
|
sudo "mkdir -p '#{path}'" unless File.exist?(path)
|
365
366
|
else
|
366
367
|
SharedHelpers.filesystem_access(path, :write) do |p|
|
@@ -407,7 +408,9 @@ EOF
|
|
407
408
|
end
|
408
409
|
|
409
410
|
def read_file(file)
|
410
|
-
|
411
|
+
SharedHelpers.filesystem_access(file, :read) do
|
412
|
+
File.open(file, "rb", &:read)
|
413
|
+
end
|
411
414
|
end
|
412
415
|
|
413
416
|
def load_marshal(data)
|
@@ -427,7 +430,7 @@ EOF
|
|
427
430
|
|
428
431
|
def load_gemspec_uncached(file, validate = false)
|
429
432
|
path = Pathname.new(file)
|
430
|
-
contents =
|
433
|
+
contents = File.open(file, "r:UTF-8", &:read)
|
431
434
|
spec = if contents.start_with?("---") # YAML header
|
432
435
|
eval_yaml_gemspec(path, contents)
|
433
436
|
else
|
@@ -4,8 +4,8 @@ module Bundler
|
|
4
4
|
# Represents metadata from when the Bundler gem was built.
|
5
5
|
module BuildMetadata
|
6
6
|
# begin ivars
|
7
|
-
@built_at = "2018-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2018-07-17".freeze
|
8
|
+
@git_commit_sha = "12e73cab7".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
data/lib/bundler/current_ruby.rb
CHANGED
@@ -44,9 +44,11 @@ module Bundler
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def gem_install_message
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
source = spec.source
|
48
|
+
return unless source.respond_to?(:remotes)
|
49
|
+
|
50
|
+
if source.remotes.size == 1
|
51
|
+
"Make sure that `gem install #{spec.name} -v '#{spec.version}' --source '#{source.remotes.first}'` succeeds before bundling."
|
50
52
|
else
|
51
53
|
"Make sure that `gem install #{spec.name} -v '#{spec.version}'` succeeds before bundling."
|
52
54
|
end
|
data/lib/bundler/process_lock.rb
CHANGED
@@ -12,7 +12,7 @@ module Bundler
|
|
12
12
|
yield
|
13
13
|
f.flock(File::LOCK_UN)
|
14
14
|
end
|
15
|
-
rescue Errno::EACCES, Errno::ENOLCK
|
15
|
+
rescue Errno::EACCES, Errno::ENOLCK, *[SharedHelpers.const_get_safely(:ENOTSUP, Errno)].compact
|
16
16
|
# In the case the user does not have access to
|
17
17
|
# create the lock file or is using NFS where
|
18
18
|
# locks are not available we skip locking.
|
@@ -324,7 +324,7 @@ module Bundler
|
|
324
324
|
end
|
325
325
|
|
326
326
|
def bundler_ruby_lib
|
327
|
-
File.expand_path("../..", __FILE__)
|
327
|
+
resolve_path File.expand_path("../..", __FILE__)
|
328
328
|
end
|
329
329
|
|
330
330
|
def clean_load_path
|
@@ -336,12 +336,23 @@ module Bundler
|
|
336
336
|
loaded_gem_paths = Bundler.rubygems.loaded_gem_paths
|
337
337
|
|
338
338
|
$LOAD_PATH.reject! do |p|
|
339
|
-
next if
|
339
|
+
next if resolve_path(p).start_with?(bundler_lib)
|
340
340
|
loaded_gem_paths.delete(p)
|
341
341
|
end
|
342
342
|
$LOAD_PATH.uniq!
|
343
343
|
end
|
344
344
|
|
345
|
+
def resolve_path(path)
|
346
|
+
expanded = File.expand_path(path)
|
347
|
+
return expanded unless File.respond_to?(:realpath)
|
348
|
+
|
349
|
+
while File.exist?(expanded) && File.realpath(expanded) != expanded
|
350
|
+
expanded = File.realpath(expanded)
|
351
|
+
end
|
352
|
+
|
353
|
+
expanded
|
354
|
+
end
|
355
|
+
|
345
356
|
def prints_major_deprecations?
|
346
357
|
require "bundler"
|
347
358
|
deprecation_release = Bundler::VERSION.split(".").drop(1).include?("99")
|
@@ -138,7 +138,7 @@ module Bundler
|
|
138
138
|
bin_path = Bundler.system_bindir
|
139
139
|
end
|
140
140
|
|
141
|
-
Bundler.mkdir_p bin_path unless spec.executables.empty? || Bundler.rubygems.provides?(">= 2.7.5")
|
141
|
+
Bundler.mkdir_p bin_path, :no_sudo => true unless spec.executables.empty? || Bundler.rubygems.provides?(">= 2.7.5")
|
142
142
|
|
143
143
|
installed_spec = nil
|
144
144
|
Bundler.rubygems.preserve_paths do
|
@@ -338,7 +338,11 @@ module Bundler
|
|
338
338
|
end
|
339
339
|
|
340
340
|
def remove_auth(remote)
|
341
|
-
remote.
|
341
|
+
if remote.user || remote.password
|
342
|
+
remote.dup.tap {|uri| uri.user = uri.password = nil }.to_s
|
343
|
+
else
|
344
|
+
remote.to_s
|
345
|
+
end
|
342
346
|
end
|
343
347
|
|
344
348
|
def installed_specs
|
@@ -25,7 +25,10 @@ module Bundler
|
|
25
25
|
|
26
26
|
cache_uri = original_uri || uri
|
27
27
|
|
28
|
-
|
28
|
+
# URI::File of Ruby 2.6 returns empty string when given "file://".
|
29
|
+
host = defined?(URI::File) && cache_uri.is_a?(URI::File) ? nil : cache_uri.host
|
30
|
+
|
31
|
+
uri_parts = [host, cache_uri.user, cache_uri.port, cache_uri.path]
|
29
32
|
uri_digest = SharedHelpers.digest(:MD5).hexdigest(uri_parts.compact.join("."))
|
30
33
|
|
31
34
|
uri_parts[-1] = uri_digest
|
data/lib/bundler/version.rb
CHANGED
@@ -7,7 +7,7 @@ module Bundler
|
|
7
7
|
# We're doing this because we might write tests that deal
|
8
8
|
# with other versions of bundler and we are unsure how to
|
9
9
|
# handle this better.
|
10
|
-
VERSION = "1.16.
|
10
|
+
VERSION = "1.16.3" unless defined?(::Bundler::VERSION)
|
11
11
|
|
12
12
|
def self.overwrite_loaded_gem_version
|
13
13
|
begin
|
data/man/bundle-add.1
CHANGED
data/man/bundle-add.1.txt
CHANGED
data/man/bundle-binstubs.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-BINSTUBS" "1" "
|
4
|
+
.TH "BUNDLE\-BINSTUBS" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
|
@@ -37,4 +37,4 @@ Makes binstubs that can work without depending on Rubygems or Bundler at runtime
|
|
37
37
|
Specify a different shebang executable name than the default (default \'ruby\')
|
38
38
|
.
|
39
39
|
.SH "BUNDLE INSTALL \-\-BINSTUBS"
|
40
|
-
To create binstubs for all the gems in the bundle you can use the \fB\-\-binstubs\fR flag in
|
40
|
+
To create binstubs for all the gems in the bundle you can use the \fB\-\-binstubs\fR flag in bundle install(1) \fIbundle\-install\.1\.html\fR\.
|
data/man/bundle-binstubs.1.txt
CHANGED
@@ -41,8 +41,8 @@ OPTIONS
|
|
41
41
|
|
42
42
|
BUNDLE INSTALL --BINSTUBS
|
43
43
|
To create binstubs for all the gems in the bundle you can use the
|
44
|
-
--binstubs flag in
|
44
|
+
--binstubs flag in bundle install(1) bundle-install.1.html.
|
45
45
|
|
46
46
|
|
47
47
|
|
48
|
-
|
48
|
+
July 2018 BUNDLE-BINSTUBS(1)
|
data/man/bundle-binstubs.ronn
CHANGED
@@ -40,4 +40,4 @@ Calling binstubs with [GEM [GEM]] will create binstubs for all given gems.
|
|
40
40
|
## BUNDLE INSTALL --BINSTUBS
|
41
41
|
|
42
42
|
To create binstubs for all the gems in the bundle you can use the `--binstubs`
|
43
|
-
flag in [bundle install(1)]
|
43
|
+
flag in [bundle install(1)](bundle-install.1.html).
|
data/man/bundle-check.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CHECK" "1" "
|
4
|
+
.TH "BUNDLE\-CHECK" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
data/man/bundle-check.1.txt
CHANGED
data/man/bundle-clean.1
CHANGED
data/man/bundle-clean.1.txt
CHANGED
data/man/bundle-config.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-CONFIG" "1" "
|
4
|
+
.TH "BUNDLE\-CONFIG" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-config\fR \- Set bundler configuration options
|
@@ -115,7 +115,7 @@ After running this command, every time bundler needs to install the \fBmysql\fR
|
|
115
115
|
Configuration keys in bundler have two forms: the canonical form and the environment variable form\.
|
116
116
|
.
|
117
117
|
.P
|
118
|
-
For instance, passing the \fB\-\-without\fR flag to
|
118
|
+
For instance, passing the \fB\-\-without\fR flag to bundle install(1) \fIbundle\-install\.1\.html\fR prevents Bundler from installing certain groups specified in the Gemfile(5)\. Bundler persists this value in \fBapp/\.bundle/config\fR so that calls to \fBBundler\.setup\fR do not try to find gems from the \fBGemfile\fR that you didn\'t install\. Additionally, subsequent calls to bundle install(1) \fIbundle\-install\.1\.html\fR remember this setting and skip those groups\.
|
119
119
|
.
|
120
120
|
.P
|
121
121
|
The canonical form of this configuration is \fB"without"\fR\. To convert the canonical form to the environment variable form, capitalize it, and prepend \fBBUNDLE_\fR\. The environment variable form of \fB"without"\fR is \fBBUNDLE_WITHOUT\fR\.
|
@@ -124,7 +124,7 @@ The canonical form of this configuration is \fB"without"\fR\. To convert the can
|
|
124
124
|
Any periods in the configuration keys must be replaced with two underscores when setting it via environment variables\. The configuration key \fBlocal\.rack\fR becomes the environment variable \fBBUNDLE_LOCAL__RACK\fR\.
|
125
125
|
.
|
126
126
|
.SH "LIST OF AVAILABLE KEYS"
|
127
|
-
The following is a list of all configuration keys and their purpose\. You can learn more about their operation in
|
127
|
+
The following is a list of all configuration keys and their purpose\. You can learn more about their operation in bundle install(1) \fIbundle\-install\.1\.html\fR\.
|
128
128
|
.
|
129
129
|
.IP "\(bu" 4
|
130
130
|
\fBallow_bundler_dependency_conflicts\fR (\fBBUNDLE_ALLOW_BUNDLER_DEPENDENCY_CONFLICTS\fR): Allow resolving to specifications that have dependencies on \fBbundler\fR that are incompatible with the running Bundler version\.
|
@@ -297,7 +297,7 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
297
297
|
.IP "" 0
|
298
298
|
.
|
299
299
|
.P
|
300
|
-
In general, you should set these settings per\-application by using the applicable flag to the
|
300
|
+
In general, you should set these settings per\-application by using the applicable flag to the bundle install(1) \fIbundle\-install\.1\.html\fR or bundle package(1) \fIbundle\-package\.1\.html\fR command\.
|
301
301
|
.
|
302
302
|
.P
|
303
303
|
You can set them globally either via environment variables or \fBbundle config\fR, whichever is preferable for your setup\. If you use both, environment variables will take preference over global settings\.
|
data/man/bundle-config.1.txt
CHANGED
@@ -120,12 +120,12 @@ CONFIGURATION KEYS
|
|
120
120
|
Configuration keys in bundler have two forms: the canonical form and
|
121
121
|
the environment variable form.
|
122
122
|
|
123
|
-
For instance, passing the
|
124
|
-
dle-install
|
125
|
-
|
126
|
-
|
127
|
-
Gemfile
|
128
|
-
|
123
|
+
For instance, passing the --without flag to bundle install(1) bun-
|
124
|
+
dle-install.1.html prevents Bundler from installing certain groups
|
125
|
+
specified in the Gemfile(5). Bundler persists this value in app/.bun-
|
126
|
+
dle/config so that calls to Bundler.setup do not try to find gems from
|
127
|
+
the Gemfile that you didn't install. Additionally, subsequent calls to
|
128
|
+
bundle install(1) bundle-install.1.html remember this setting and skip
|
129
129
|
those groups.
|
130
130
|
|
131
131
|
The canonical form of this configuration is "without". To convert the
|
@@ -139,8 +139,8 @@ CONFIGURATION KEYS
|
|
139
139
|
|
140
140
|
LIST OF AVAILABLE KEYS
|
141
141
|
The following is a list of all configuration keys and their purpose.
|
142
|
-
You can learn more
|
143
|
-
dle-install
|
142
|
+
You can learn more about their operation in bundle install(1) bun-
|
143
|
+
dle-install.1.html.
|
144
144
|
|
145
145
|
o allow_bundler_dependency_conflicts (BUNDLE_ALLOW_BUNDLER_DEPEN-
|
146
146
|
DENCY_CONFLICTS): Allow resolving to specifications that have
|
@@ -352,8 +352,8 @@ LIST OF AVAILABLE KEYS
|
|
352
352
|
|
353
353
|
|
354
354
|
In general, you should set these settings per-application by using the
|
355
|
-
applicable flag to the
|
356
|
-
dle package(1)
|
355
|
+
applicable flag to the bundle install(1) bundle-install.1.html or bun-
|
356
|
+
dle package(1) bundle-package.1.html command.
|
357
357
|
|
358
358
|
You can set them globally either via environment variables or bundle
|
359
359
|
config, whichever is preferable for your setup. If you use both, envi-
|
@@ -498,4 +498,4 @@ CREDENTIALS FOR GEM SOURCES
|
|
498
498
|
|
499
499
|
|
500
500
|
|
501
|
-
|
501
|
+
July 2018 BUNDLE-CONFIG(1)
|
data/man/bundle-config.ronn
CHANGED
@@ -102,11 +102,11 @@ After running this command, every time bundler needs to install the
|
|
102
102
|
Configuration keys in bundler have two forms: the canonical form and the
|
103
103
|
environment variable form.
|
104
104
|
|
105
|
-
For instance, passing the `--without` flag to [bundle install(1)]
|
105
|
+
For instance, passing the `--without` flag to [bundle install(1)](bundle-install.1.html)
|
106
106
|
prevents Bundler from installing certain groups specified in the Gemfile(5). Bundler
|
107
107
|
persists this value in `app/.bundle/config` so that calls to `Bundler.setup`
|
108
108
|
do not try to find gems from the `Gemfile` that you didn't install. Additionally,
|
109
|
-
subsequent calls to [bundle install(1)]
|
109
|
+
subsequent calls to [bundle install(1)](bundle-install.1.html) remember this setting
|
110
110
|
and skip those groups.
|
111
111
|
|
112
112
|
The canonical form of this configuration is `"without"`. To convert the canonical
|
@@ -120,7 +120,7 @@ the environment variable `BUNDLE_LOCAL__RACK`.
|
|
120
120
|
## LIST OF AVAILABLE KEYS
|
121
121
|
|
122
122
|
The following is a list of all configuration keys and their purpose. You can
|
123
|
-
learn more about their operation in [bundle install(1)]
|
123
|
+
learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
124
124
|
|
125
125
|
* `allow_bundler_dependency_conflicts` (`BUNDLE_ALLOW_BUNDLER_DEPENDENCY_CONFLICTS`):
|
126
126
|
Allow resolving to specifications that have dependencies on `bundler` that
|
@@ -281,7 +281,7 @@ learn more about their operation in [bundle install(1)][bundle-install(1)].
|
|
281
281
|
A `:`-separated list of groups whose gems bundler should not install.
|
282
282
|
|
283
283
|
In general, you should set these settings per-application by using the applicable
|
284
|
-
flag to the [bundle install(1)]
|
284
|
+
flag to the [bundle install(1)](bundle-install.1.html) or [bundle package(1)](bundle-package.1.html) command.
|
285
285
|
|
286
286
|
You can set them globally either via environment variables or `bundle config`,
|
287
287
|
whichever is preferable for your setup. If you use both, environment variables
|
data/man/bundle-doctor.1
CHANGED
data/man/bundle-doctor.1.txt
CHANGED
data/man/bundle-exec.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-EXEC" "1" "
|
4
|
+
.TH "BUNDLE\-EXEC" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
@@ -13,7 +13,7 @@
|
|
13
13
|
This command executes the command, making all gems specified in the [\fBGemfile(5)\fR][Gemfile(5)] available to \fBrequire\fR in Ruby programs\.
|
14
14
|
.
|
15
15
|
.P
|
16
|
-
Essentially, if you would normally have run something like \fBrspec spec/my_spec\.rb\fR, and you want to use the gems specified in the [\fBGemfile(5)\fR][Gemfile(5)] and installed via
|
16
|
+
Essentially, if you would normally have run something like \fBrspec spec/my_spec\.rb\fR, and you want to use the gems specified in the [\fBGemfile(5)\fR][Gemfile(5)] and installed via bundle install(1) \fIbundle\-install\.1\.html\fR, you should run \fBbundle exec rspec spec/my_spec\.rb\fR\.
|
17
17
|
.
|
18
18
|
.P
|
19
19
|
Note that \fBbundle exec\fR does not require that an executable is available on your shell\'s \fB$PATH\fR\.
|
@@ -25,7 +25,7 @@ Note that \fBbundle exec\fR does not require that an executable is available on
|
|
25
25
|
Exec in Ruby 2\.0 began discarding non\-standard file descriptors\. When this flag is passed, exec will revert to the 1\.9 behaviour of passing all file descriptors to the new process\.
|
26
26
|
.
|
27
27
|
.SH "BUNDLE INSTALL \-\-BINSTUBS"
|
28
|
-
If you use the \fB\-\-binstubs\fR flag in
|
28
|
+
If you use the \fB\-\-binstubs\fR flag in bundle install(1) \fIbundle\-install\.1\.html\fR, Bundler will automatically create a directory (which defaults to \fBapp_root/bin\fR) containing all of the executables available from gems in the bundle\.
|
29
29
|
.
|
30
30
|
.P
|
31
31
|
After using \fB\-\-binstubs\fR, \fBbin/rspec spec/my_spec\.rb\fR is identical to \fBbundle exec rspec spec/my_spec\.rb\fR\.
|