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.

Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/lib/bundler.rb +8 -5
  4. data/lib/bundler/build_metadata.rb +2 -2
  5. data/lib/bundler/current_ruby.rb +1 -0
  6. data/lib/bundler/installer/gem_installer.rb +5 -3
  7. data/lib/bundler/process_lock.rb +1 -1
  8. data/lib/bundler/shared_helpers.rb +13 -2
  9. data/lib/bundler/source/rubygems.rb +6 -2
  10. data/lib/bundler/source/rubygems/remote.rb +4 -1
  11. data/lib/bundler/templates/newgem/travis.yml.tt +2 -0
  12. data/lib/bundler/version.rb +1 -1
  13. data/man/bundle-add.1 +1 -1
  14. data/man/bundle-add.1.txt +1 -1
  15. data/man/bundle-binstubs.1 +2 -2
  16. data/man/bundle-binstubs.1.txt +2 -2
  17. data/man/bundle-binstubs.ronn +1 -1
  18. data/man/bundle-check.1 +1 -1
  19. data/man/bundle-check.1.txt +1 -1
  20. data/man/bundle-clean.1 +1 -1
  21. data/man/bundle-clean.1.txt +1 -1
  22. data/man/bundle-config.1 +4 -4
  23. data/man/bundle-config.1.txt +11 -11
  24. data/man/bundle-config.ronn +4 -4
  25. data/man/bundle-doctor.1 +1 -1
  26. data/man/bundle-doctor.1.txt +1 -1
  27. data/man/bundle-exec.1 +3 -3
  28. data/man/bundle-exec.1.txt +7 -7
  29. data/man/bundle-exec.ronn +2 -2
  30. data/man/bundle-gem.1 +2 -2
  31. data/man/bundle-gem.1.txt +2 -2
  32. data/man/bundle-gem.ronn +1 -1
  33. data/man/bundle-info.1 +1 -1
  34. data/man/bundle-info.1.txt +1 -1
  35. data/man/bundle-init.1 +1 -1
  36. data/man/bundle-init.1.txt +1 -1
  37. data/man/bundle-inject.1 +1 -1
  38. data/man/bundle-inject.1.txt +1 -1
  39. data/man/bundle-install.1 +2 -2
  40. data/man/bundle-install.1.txt +2 -2
  41. data/man/bundle-install.ronn +1 -1
  42. data/man/bundle-list.1 +1 -1
  43. data/man/bundle-list.1.txt +1 -1
  44. data/man/bundle-lock.1 +2 -2
  45. data/man/bundle-lock.1.txt +2 -2
  46. data/man/bundle-lock.ronn +1 -1
  47. data/man/bundle-open.1 +1 -1
  48. data/man/bundle-open.1.txt +1 -1
  49. data/man/bundle-outdated.1 +2 -2
  50. data/man/bundle-outdated.1.txt +2 -2
  51. data/man/bundle-outdated.ronn +1 -1
  52. data/man/bundle-package.1 +3 -3
  53. data/man/bundle-package.1.txt +6 -6
  54. data/man/bundle-package.ronn +3 -3
  55. data/man/bundle-platform.1 +1 -1
  56. data/man/bundle-platform.1.txt +1 -1
  57. data/man/bundle-pristine.1 +1 -1
  58. data/man/bundle-pristine.1.txt +1 -1
  59. data/man/bundle-show.1 +1 -1
  60. data/man/bundle-show.1.txt +1 -1
  61. data/man/bundle-update.1 +8 -8
  62. data/man/bundle-update.1.txt +62 -61
  63. data/man/bundle-update.ronn +8 -8
  64. data/man/bundle-viz.1 +2 -2
  65. data/man/bundle-viz.1.txt +3 -3
  66. data/man/bundle-viz.ronn +1 -1
  67. data/man/bundle.1 +19 -19
  68. data/man/bundle.1.txt +19 -19
  69. data/man/bundle.ronn +18 -18
  70. data/man/gemfile.5 +9 -3
  71. data/man/gemfile.5.ronn +15 -2
  72. data/man/gemfile.5.txt +36 -23
  73. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 535caed2fb3e13277d20fba1f3cdd019c7825af25507286fd6e251081b945687
4
- data.tar.gz: 0ca51a24349cc26e4bc937ce65884dfd43adc1cb0f154a220b3d4bebd6998a09
3
+ metadata.gz: 897f39bcd75dd113d5b7a265937b90f76aea4fde22206628e9a8975f6028d79a
4
+ data.tar.gz: 503ee119ef7bce662c77670e39ca9766954ec392923c84742052508499e1768b
5
5
  SHA512:
6
- metadata.gz: 7caecc87de4d123a8f5a514e1a5f1d95f39d55bdc7de8c80e1088b944f1d985a8e369551781fc712a1962bfb6c72994263dc90b579e37557c5b2d841dfcfa3fb
7
- data.tar.gz: f8997d3df4cbe33dd8eeb99345e21d62050492cea261c143fb3e3097cdc32d3d357f0479cbe0f9aef53642fb9ab20719db0b8a2142d9459077c2312e970a05b0
6
+ metadata.gz: '034865883b48cf57ac63225584bd6a466c3a8b91ac47328af41a6a153c3fe6b054b36b0a55d71e79a91014e04f8e7c4a2835b3edaeb1ff53b07fc13af5c79b10'
7
+ data.tar.gz: a32cb54b35b9c498390711b60e5212268fc88d90f02d339c4d70344a740272098a20226a0bdd1544af558dfbd98e7c4c9c3c77e24edcf1f362ad99d94efe7349
@@ -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:
@@ -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
- File.open(file, "rb", &:read)
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 = read_file(file)
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-05-16".freeze
8
- @git_commit_sha = "9f7bf0ac3".freeze
7
+ @built_at = "2018-07-17".freeze
8
+ @git_commit_sha = "12e73cab7".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -18,6 +18,7 @@ module Bundler
18
18
  2.3
19
19
  2.4
20
20
  2.5
21
+ 2.6
21
22
  ].freeze
22
23
 
23
24
  KNOWN_MAJOR_VERSIONS = KNOWN_MINOR_VERSIONS.map {|v| v.split(".", 2).first }.uniq.freeze
@@ -44,9 +44,11 @@ module Bundler
44
44
  end
45
45
 
46
46
  def gem_install_message
47
- remotes = spec.source.remotes
48
- if remotes.size == 1
49
- "Make sure that `gem install #{spec.name} -v '#{spec.version}' --source '#{remotes.first}'` succeeds before bundling."
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
@@ -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 File.expand_path(p).start_with?(bundler_lib)
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.dup.tap {|uri| uri.user = uri.password = nil }.to_s
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
- uri_parts = [cache_uri.host, cache_uri.user, cache_uri.port, cache_uri.path]
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
@@ -1,5 +1,7 @@
1
+ ---
1
2
  sudo: false
2
3
  language: ruby
4
+ cache: bundler
3
5
  rvm:
4
6
  - <%= RUBY_VERSION %>
5
7
  before_install: gem install bundler -v <%= Bundler::VERSION %>
@@ -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.2" unless defined?(::Bundler::VERSION)
10
+ VERSION = "1.16.3" unless defined?(::Bundler::VERSION)
11
11
 
12
12
  def self.overwrite_loaded_gem_version
13
13
  begin
@@ -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\-ADD" "1" "January 2018" "" ""
4
+ .TH "BUNDLE\-ADD" "1" "July 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install
@@ -37,4 +37,4 @@ OPTIONS
37
37
 
38
38
 
39
39
 
40
- January 2018 BUNDLE-ADD(1)
40
+ July 2018 BUNDLE-ADD(1)
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-BINSTUBS" "1" "February 2018" "" ""
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 [bundle install(1)][bundle\-install(1)]\.
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\.
@@ -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 [bundle install(1)][bundle-install(1)].
44
+ --binstubs flag in bundle install(1) bundle-install.1.html.
45
45
 
46
46
 
47
47
 
48
- February 2018 BUNDLE-BINSTUBS(1)
48
+ July 2018 BUNDLE-BINSTUBS(1)
@@ -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)][bundle-install(1)].
43
+ flag in [bundle install(1)](bundle-install.1.html).
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CHECK" "1" "February 2018" "" ""
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
@@ -30,4 +30,4 @@ OPTIONS
30
30
 
31
31
 
32
32
 
33
- February 2018 BUNDLE-CHECK(1)
33
+ July 2018 BUNDLE-CHECK(1)
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CLEAN" "1" "February 2017" "" ""
4
+ .TH "BUNDLE\-CLEAN" "1" "July 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
@@ -23,4 +23,4 @@ OPTIONS
23
23
 
24
24
 
25
25
 
26
- February 2017 BUNDLE-CLEAN(1)
26
+ July 2018 BUNDLE-CLEAN(1)
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-CONFIG" "1" "May 2018" "" ""
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 [bundle install(1)][bundle\-install(1)] 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)][bundle\-install(1)] remember this setting and skip those groups\.
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 [bundle install(1)][bundle\-install(1)]\.
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 [bundle install(1)][bundle\-install(1)] or [bundle package(1)][bundle\-package(1)] command\.
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\.
@@ -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 --without flag to [bundle install(1)][bun-
124
- dle-install(1)] prevents Bundler from installing certain groups speci-
125
- fied in the Gemfile(5). Bundler persists this value in app/.bundle/con-
126
- fig so that calls to Bundler.setup do not try to find gems from the
127
- Gemfile that you didn't install. Additionally, subsequent calls to
128
- [bundle install(1)][bundle-install(1)] remember this setting and skip
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 about their operation in [bundle install(1)][bun-
143
- dle-install(1)].
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 [bundle install(1)][bundle-install(1)] or [bun-
356
- dle package(1)][bundle-package(1)] command.
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
- May 2018 BUNDLE-CONFIG(1)
501
+ July 2018 BUNDLE-CONFIG(1)
@@ -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)][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)][bundle-install(1)] remember this setting
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)][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)][bundle-install(1)] or [bundle package(1)][bundle-package(1)] command.
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
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-DOCTOR" "1" "March 2018" "" ""
4
+ .TH "BUNDLE\-DOCTOR" "1" "July 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-doctor\fR \- Checks the bundle for common problems
@@ -41,4 +41,4 @@ OPTIONS
41
41
 
42
42
 
43
43
 
44
- March 2018 BUNDLE-DOCTOR(1)
44
+ July 2018 BUNDLE-DOCTOR(1)
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-EXEC" "1" "February 2018" "" ""
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 [bundle install(1)][bundle\-install(1)], you should run \fBbundle exec rspec spec/my_spec\.rb\fR\.
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 [bundle install(1)][bundle\-install(1)], Bundler will automatically create a directory (which defaults to \fBapp_root/bin\fR) containing all of the executables available from gems in the bundle\.
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\.