bundler 1.16.1 → 1.16.2

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 (93) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +50 -0
  3. data/README.md +4 -0
  4. data/lib/bundler.rb +2 -2
  5. data/lib/bundler/build_metadata.rb +2 -2
  6. data/lib/bundler/cli.rb +2 -0
  7. data/lib/bundler/cli/check.rb +1 -1
  8. data/lib/bundler/cli/exec.rb +3 -4
  9. data/lib/bundler/cli/gem.rb +5 -2
  10. data/lib/bundler/cli/init.rb +5 -0
  11. data/lib/bundler/cli/install.rb +2 -2
  12. data/lib/bundler/cli/outdated.rb +1 -1
  13. data/lib/bundler/compact_index_client/updater.rb +10 -1
  14. data/lib/bundler/definition.rb +16 -11
  15. data/lib/bundler/fetcher.rb +2 -2
  16. data/lib/bundler/fetcher/index.rb +2 -2
  17. data/lib/bundler/friendly_errors.rb +2 -0
  18. data/lib/bundler/injector.rb +4 -4
  19. data/lib/bundler/installer.rb +12 -4
  20. data/lib/bundler/installer/gem_installer.rb +6 -1
  21. data/lib/bundler/plugin/index.rb +6 -1
  22. data/lib/bundler/resolver/spec_group.rb +0 -1
  23. data/lib/bundler/rubygems_integration.rb +9 -3
  24. data/lib/bundler/runtime.rb +1 -1
  25. data/lib/bundler/source/git.rb +2 -1
  26. data/lib/bundler/source/git/git_proxy.rb +6 -1
  27. data/lib/bundler/source/rubygems.rb +6 -1
  28. data/lib/bundler/spec_set.rb +4 -1
  29. data/lib/bundler/templates/Executable +1 -1
  30. data/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -2
  31. data/lib/bundler/ui/shell.rb +3 -1
  32. data/lib/bundler/version.rb +1 -1
  33. data/man/bundle-add.1 +1 -1
  34. data/man/bundle-add.1.txt +1 -1
  35. data/man/bundle-binstubs.1 +4 -4
  36. data/man/bundle-binstubs.1.txt +4 -4
  37. data/man/bundle-binstubs.ronn +3 -3
  38. data/man/bundle-check.1 +4 -4
  39. data/man/bundle-check.1.txt +6 -5
  40. data/man/bundle-check.ronn +3 -3
  41. data/man/bundle-config.1 +23 -6
  42. data/man/bundle-config.1.txt +25 -15
  43. data/man/bundle-config.ronn +13 -9
  44. data/man/bundle-doctor.1 +44 -0
  45. data/man/bundle-doctor.1.txt +44 -0
  46. data/man/bundle-doctor.ronn +33 -0
  47. data/man/bundle-exec.1 +4 -4
  48. data/man/bundle-exec.1.txt +9 -9
  49. data/man/bundle-exec.ronn +3 -3
  50. data/man/bundle-gem.1 +2 -2
  51. data/man/bundle-gem.1.txt +2 -2
  52. data/man/bundle-gem.ronn +1 -1
  53. data/man/bundle-info.1 +1 -1
  54. data/man/bundle-info.1.txt +1 -1
  55. data/man/bundle-init.1 +9 -4
  56. data/man/bundle-init.1.txt +16 -6
  57. data/man/bundle-init.ronn +15 -4
  58. data/man/bundle-inject.1 +4 -4
  59. data/man/bundle-inject.1.txt +5 -5
  60. data/man/bundle-inject.ronn +3 -3
  61. data/man/bundle-install.1 +2 -2
  62. data/man/bundle-install.1.txt +2 -2
  63. data/man/bundle-install.ronn +1 -1
  64. data/man/bundle-list.1 +1 -1
  65. data/man/bundle-list.1.txt +1 -1
  66. data/man/bundle-lock.1 +2 -2
  67. data/man/bundle-lock.1.txt +2 -2
  68. data/man/bundle-lock.ronn +1 -1
  69. data/man/bundle-outdated.1 +2 -2
  70. data/man/bundle-outdated.1.txt +2 -2
  71. data/man/bundle-outdated.ronn +1 -1
  72. data/man/bundle-package.1 +3 -3
  73. data/man/bundle-package.1.txt +6 -6
  74. data/man/bundle-package.ronn +3 -3
  75. data/man/bundle-pristine.1 +1 -1
  76. data/man/bundle-pristine.1.txt +1 -1
  77. data/man/bundle-show.1 +3 -3
  78. data/man/bundle-show.1.txt +4 -3
  79. data/man/bundle-show.ronn +2 -2
  80. data/man/bundle-update.1 +8 -8
  81. data/man/bundle-update.1.txt +42 -41
  82. data/man/bundle-update.ronn +8 -8
  83. data/man/bundle-viz.1 +2 -2
  84. data/man/bundle-viz.1.txt +3 -2
  85. data/man/bundle-viz.ronn +1 -1
  86. data/man/bundle.1 +26 -26
  87. data/man/bundle.1.txt +26 -26
  88. data/man/bundle.ronn +25 -25
  89. data/man/gemfile.5 +4 -4
  90. data/man/gemfile.5.ronn +3 -3
  91. data/man/gemfile.5.txt +6 -6
  92. data/man/index.txt +1 -0
  93. metadata +6 -3
@@ -7,10 +7,14 @@ bundle-config(1) -- Set bundler configuration options
7
7
 
8
8
  ## DESCRIPTION
9
9
 
10
- This command allows you to interact with bundler's configuration system.
11
- Bundler retrieves its configuration from the local application (`app/.bundle/config`),
12
- environment variables, and the user's home directory (`~/.bundle/config`),
13
- in that order of priority.
10
+ This command allows you to interact with Bundler's configuration system.
11
+
12
+ Bundler loads configuration settings in this order:
13
+
14
+ 1. Local config (`app/.bundle/config`)
15
+ 2. Environmental variables (`ENV`)
16
+ 3. Global config (`~/.bundle/config`)
17
+ 4. Bundler default config
14
18
 
15
19
  Executing `bundle config` with no parameters will print a list of all
16
20
  bundler configuration for the current bundle, and where that configuration
@@ -76,7 +80,7 @@ The options that can be configured are:
76
80
 
77
81
  ## BUILD OPTIONS
78
82
 
79
- You can use `bundle config` to give bundler the flags to pass to the gem
83
+ You can use `bundle config` to give Bundler the flags to pass to the gem
80
84
  installer every time bundler tries to install a particular gem.
81
85
 
82
86
  A very common example, the `mysql` gem, requires Snow Leopard users to
@@ -98,11 +102,11 @@ After running this command, every time bundler needs to install the
98
102
  Configuration keys in bundler have two forms: the canonical form and the
99
103
  environment variable form.
100
104
 
101
- For instance, passing the `--without` flag to [bundle install(1)][bundle-install]
105
+ For instance, passing the `--without` flag to [bundle install(1)][bundle-install(1)]
102
106
  prevents Bundler from installing certain groups specified in the Gemfile(5). Bundler
103
107
  persists this value in `app/.bundle/config` so that calls to `Bundler.setup`
104
108
  do not try to find gems from the `Gemfile` that you didn't install. Additionally,
105
- subsequent calls to [bundle install(1)][bundle-install] remember this setting
109
+ subsequent calls to [bundle install(1)][bundle-install(1)] remember this setting
106
110
  and skip those groups.
107
111
 
108
112
  The canonical form of this configuration is `"without"`. To convert the canonical
@@ -116,7 +120,7 @@ the environment variable `BUNDLE_LOCAL__RACK`.
116
120
  ## LIST OF AVAILABLE KEYS
117
121
 
118
122
  The following is a list of all configuration keys and their purpose. You can
119
- learn more about their operation in [bundle install(1)][bundle-install].
123
+ learn more about their operation in [bundle install(1)][bundle-install(1)].
120
124
 
121
125
  * `allow_bundler_dependency_conflicts` (`BUNDLE_ALLOW_BUNDLER_DEPENDENCY_CONFLICTS`):
122
126
  Allow resolving to specifications that have dependencies on `bundler` that
@@ -277,7 +281,7 @@ learn more about their operation in [bundle install(1)][bundle-install].
277
281
  A `:`-separated list of groups whose gems bundler should not install.
278
282
 
279
283
  In general, you should set these settings per-application by using the applicable
280
- flag to the [bundle install(1)][bundle-install] or [bundle package(1)][bundle-package] command.
284
+ flag to the [bundle install(1)][bundle-install(1)] or [bundle package(1)][bundle-package(1)] command.
281
285
 
282
286
  You can set them globally either via environment variables or `bundle config`,
283
287
  whichever is preferable for your setup. If you use both, environment variables
@@ -0,0 +1,44 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "BUNDLE\-DOCTOR" "1" "March 2018" "" ""
5
+ .
6
+ .SH "NAME"
7
+ \fBbundle\-doctor\fR \- Checks the bundle for common problems
8
+ .
9
+ .SH "SYNOPSIS"
10
+ \fBbundle doctor\fR [\-\-quiet] [\-\-gemfile=GEMFILE]
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Checks your Gemfile and gem environment for common problems\. If issues are detected, Bundler prints them and exits status 1\. Otherwise, Bundler prints a success message and exits status 0\.
14
+ .
15
+ .P
16
+ Examples of common problems caught by bundle\-doctor include:
17
+ .
18
+ .IP "\(bu" 4
19
+ Invalid Bundler settings
20
+ .
21
+ .IP "\(bu" 4
22
+ Mismatched Ruby versions
23
+ .
24
+ .IP "\(bu" 4
25
+ Mismatched platforms
26
+ .
27
+ .IP "\(bu" 4
28
+ Uninstalled gems
29
+ .
30
+ .IP "\(bu" 4
31
+ Missing dependencies
32
+ .
33
+ .IP "" 0
34
+ .
35
+ .SH "OPTIONS"
36
+ .
37
+ .TP
38
+ \fB\-\-quiet\fR
39
+ Only output warnings and errors\.
40
+ .
41
+ .TP
42
+ \fB\-\-gemfile=<gemfile>\fR
43
+ The location of the Gemfile(5) which Bundler should use\. This defaults to a Gemfile(5) in the current working directory\. In general, Bundler will assume that the location of the Gemfile(5) is also the project\'s root and will try to find \fBGemfile\.lock\fR and \fBvendor/cache\fR relative to this location\.
44
+
@@ -0,0 +1,44 @@
1
+ BUNDLE-DOCTOR(1) BUNDLE-DOCTOR(1)
2
+
3
+
4
+
5
+ NAME
6
+ bundle-doctor - Checks the bundle for common problems
7
+
8
+ SYNOPSIS
9
+ bundle doctor [--quiet] [--gemfile=GEMFILE]
10
+
11
+ DESCRIPTION
12
+ Checks your Gemfile and gem environment for common problems. If issues
13
+ are detected, Bundler prints them and exits status 1. Otherwise,
14
+ Bundler prints a success message and exits status 0.
15
+
16
+ Examples of common problems caught by bundle-doctor include:
17
+
18
+ o Invalid Bundler settings
19
+
20
+ o Mismatched Ruby versions
21
+
22
+ o Mismatched platforms
23
+
24
+ o Uninstalled gems
25
+
26
+ o Missing dependencies
27
+
28
+
29
+
30
+ OPTIONS
31
+ --quiet
32
+ Only output warnings and errors.
33
+
34
+ --gemfile=<gemfile>
35
+ The location of the Gemfile(5) which Bundler should use. This
36
+ defaults to a Gemfile(5) in the current working directory. In
37
+ general, Bundler will assume that the location of the Gemfile(5)
38
+ is also the project's root and will try to find Gemfile.lock and
39
+ vendor/cache relative to this location.
40
+
41
+
42
+
43
+
44
+ March 2018 BUNDLE-DOCTOR(1)
@@ -0,0 +1,33 @@
1
+ bundle-doctor(1) -- Checks the bundle for common problems
2
+ =========================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle doctor` [--quiet]
7
+ [--gemfile=GEMFILE]
8
+
9
+ ## DESCRIPTION
10
+
11
+ Checks your Gemfile and gem environment for common problems. If issues
12
+ are detected, Bundler prints them and exits status 1. Otherwise,
13
+ Bundler prints a success message and exits status 0.
14
+
15
+ Examples of common problems caught by bundle-doctor include:
16
+
17
+ * Invalid Bundler settings
18
+ * Mismatched Ruby versions
19
+ * Mismatched platforms
20
+ * Uninstalled gems
21
+ * Missing dependencies
22
+
23
+ ## OPTIONS
24
+
25
+ * `--quiet`:
26
+ Only output warnings and errors.
27
+
28
+ * `--gemfile=<gemfile>`:
29
+ The location of the Gemfile(5) which Bundler should use. This defaults
30
+ to a Gemfile(5) in the current working directory. In general, Bundler
31
+ will assume that the location of the Gemfile(5) is also the project's
32
+ root and will try to find `Gemfile.lock` and `vendor/cache` relative
33
+ to this location.
@@ -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" "July 2017" "" ""
4
+ .TH "BUNDLE\-EXEC" "1" "February 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-exec\fR \- Execute a command in the context of the bundle
@@ -10,10 +10,10 @@
10
10
  \fBbundle exec\fR [\-\-keep\-file\-descriptors] \fIcommand\fR
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- This command executes the command, making all gems specified in the \fBGemfile(5)\fR available to \fBrequire\fR in Ruby programs\.
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 and installed via [bundle install(1)][bundle\-install], 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)][bundle\-install(1)], 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], 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)][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\.
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\.
@@ -10,12 +10,12 @@ SYNOPSIS
10
10
 
11
11
  DESCRIPTION
12
12
  This command executes the command, making all gems specified in the
13
- Gemfile(5) available to require in Ruby programs.
13
+ [Gemfile(5)][Gemfile(5)] available to require in Ruby programs.
14
14
 
15
15
  Essentially, if you would normally have run something like rspec
16
- spec/my_spec.rb, and you want to use the gems specified in the Gem-
17
- file(5) and installed via [bundle install(1)][bundle-install], you
18
- should run bundle exec rspec spec/my_spec.rb.
16
+ spec/my_spec.rb, and you want to use the gems specified in the [Gem-
17
+ file(5)][Gemfile(5)] and installed via [bundle install(1)][bun-
18
+ dle-install(1)], you should run bundle exec rspec spec/my_spec.rb.
19
19
 
20
20
  Note that bundle exec does not require that an executable is available
21
21
  on your shell's $PATH.
@@ -27,10 +27,10 @@ OPTIONS
27
27
  of passing all file descriptors to the new process.
28
28
 
29
29
  BUNDLE INSTALL --BINSTUBS
30
- If you use the --binstubs flag in [bundle install(1)][bundle-install],
31
- Bundler will automatically create a directory (which defaults to
32
- app_root/bin) containing all of the executables available from gems in
33
- the bundle.
30
+ If you use the --binstubs flag in [bundle install(1)][bun-
31
+ dle-install(1)], Bundler will automatically create a directory (which
32
+ defaults to app_root/bin) containing all of the executables available
33
+ from gems in the bundle.
34
34
 
35
35
  After using --binstubs, bin/rspec spec/my_spec.rb is identical to bun-
36
36
  dle exec rspec spec/my_spec.rb.
@@ -175,4 +175,4 @@ RUBYGEMS PLUGINS
175
175
 
176
176
 
177
177
 
178
- July 2017 BUNDLE-EXEC(1)
178
+ February 2018 BUNDLE-EXEC(1)
@@ -8,11 +8,11 @@ bundle-exec(1) -- Execute a command in the context of the bundle
8
8
  ## DESCRIPTION
9
9
 
10
10
  This command executes the command, making all gems specified in the
11
- `Gemfile(5)` available to `require` in Ruby programs.
11
+ [`Gemfile(5)`][Gemfile(5)] available to `require` in Ruby programs.
12
12
 
13
13
  Essentially, if you would normally have run something like
14
14
  `rspec spec/my_spec.rb`, and you want to use the gems specified
15
- in the `Gemfile(5)` and installed via [bundle install(1)][bundle-install], you
15
+ in the [`Gemfile(5)`][Gemfile(5)] and installed via [bundle install(1)][bundle-install(1)], you
16
16
  should run `bundle exec rspec spec/my_spec.rb`.
17
17
 
18
18
  Note that `bundle exec` does not require that an executable is
@@ -27,7 +27,7 @@ available on your shell's `$PATH`.
27
27
 
28
28
  ## BUNDLE INSTALL --BINSTUBS
29
29
 
30
- If you use the `--binstubs` flag in [bundle install(1)][bundle-install], Bundler will
30
+ If you use the `--binstubs` flag in [bundle install(1)][bundle-install(1)], Bundler will
31
31
  automatically create a directory (which defaults to `app_root/bin`)
32
32
  containing all of the executables available from gems in the bundle.
33
33
 
@@ -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\-GEM" "1" "December 2017" "" ""
4
+ .TH "BUNDLE\-GEM" "1" "February 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
@@ -74,7 +74,7 @@ Open the resulting GEM_NAME\.gemspec in EDITOR, or the default editor if not spe
74
74
  .SH "SEE ALSO"
75
75
  .
76
76
  .IP "\(bu" 4
77
- bundle\-config \fIhttp://bundler\.io/v1\.14/bundle_config\.html\fR
77
+ [bundle config(1)][bundle\-config(1)]
78
78
  .
79
79
  .IP "" 0
80
80
 
@@ -81,11 +81,11 @@ OPTIONS
81
81
  $VISUAL, or $EDITOR.
82
82
 
83
83
  SEE ALSO
84
- o bundle-config http://bundler.io/v1.14/bundle_config.html
84
+ o [bundle config(1)][bundle-config(1)]
85
85
 
86
86
 
87
87
 
88
88
 
89
89
 
90
90
 
91
- December 2017 BUNDLE-GEM(1)
91
+ February 2018 BUNDLE-GEM(1)
@@ -75,4 +75,4 @@ configuration file using the following names:
75
75
 
76
76
  ## SEE ALSO
77
77
 
78
- * [bundle-config](http://bundler.io/v1.14/bundle_config.html)
78
+ * [bundle config(1)][bundle-config(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\-INFO" "1" "February 2017" "" ""
4
+ .TH "BUNDLE\-INFO" "1" "January 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-info\fR \- Show information for the given gem in your bundle
@@ -18,4 +18,4 @@ OPTIONS
18
18
 
19
19
 
20
20
 
21
- February 2017 BUNDLE-INFO(1)
21
+ January 2018 BUNDLE-INFO(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\-INIT" "1" "February 2017" "" ""
4
+ .TH "BUNDLE\-INIT" "1" "May 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-init\fR \- Generates a Gemfile into the current working directory
@@ -10,11 +10,16 @@
10
10
  \fBbundle init\fR [\-\-gemspec=FILE]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- Init generates a default \fBGemfile(5)\fR in the current working directory\. When adding a \fBGemfile(5)\fR to a gem with a gemspec, the \fB\-\-gemspec\fR option will automatically add each dependency listed in the gemspec file to the newly created \fBGemfile(5)\fR\.
13
+ Init generates a default [\fBGemfile(5)\fR][Gemfile(5)] in the current working directory\. When adding a [\fBGemfile(5)\fR][Gemfile(5)] to a gem with a gemspec, the \fB\-\-gemspec\fR option will automatically add each dependency listed in the gemspec file to the newly created [\fBGemfile(5)\fR][Gemfile(5)]\.
14
14
  .
15
15
  .SH "OPTIONS"
16
16
  .
17
17
  .TP
18
18
  \fB\-\-gemspec\fR
19
- Use the specified \.gemspec to create the \fBGemfile(5)\fR
20
-
19
+ Use the specified \.gemspec to create the [\fBGemfile(5)\fR][Gemfile(5)]
20
+ .
21
+ .SH "FILES"
22
+ Included in the default [\fBGemfile(5)\fR][Gemfile(5)] generated is the line \fB# frozen_string_literal: true\fR\. This is a magic comment supported for the first time in Ruby 2\.3\. The presence of this line results in all string literals in the file being implicitly frozen\.
23
+ .
24
+ .SH "SEE ALSO"
25
+ Gemfile(5) \fIhttp://bundler\.io/man/gemfile\.5\.html\fR
@@ -9,16 +9,26 @@ SYNOPSIS
9
9
  bundle init [--gemspec=FILE]
10
10
 
11
11
  DESCRIPTION
12
- Init generates a default Gemfile(5) in the current working directory.
13
- When adding a Gemfile(5) to a gem with a gemspec, the --gemspec option
14
- will automatically add each dependency listed in the gemspec file to
15
- the newly created Gemfile(5).
12
+ Init generates a default [Gemfile(5)][Gemfile(5)] in the current work-
13
+ ing directory. When adding a [Gemfile(5)][Gemfile(5)] to a gem with a
14
+ gemspec, the --gemspec option will automatically add each dependency
15
+ listed in the gemspec file to the newly created [Gemfile(5)][Gem-
16
+ file(5)].
16
17
 
17
18
  OPTIONS
18
19
  --gemspec
19
- Use the specified .gemspec to create the Gemfile(5)
20
+ Use the specified .gemspec to create the [Gemfile(5)][Gem-
21
+ file(5)]
20
22
 
23
+ FILES
24
+ Included in the default [Gemfile(5)][Gemfile(5)] generated is the line
25
+ # frozen_string_literal: true. This is a magic comment supported for
26
+ the first time in Ruby 2.3. The presence of this line results in all
27
+ string literals in the file being implicitly frozen.
21
28
 
29
+ SEE ALSO
30
+ Gemfile(5) http://bundler.io/man/gemfile.5.html
22
31
 
23
32
 
24
- February 2017 BUNDLE-INIT(1)
33
+
34
+ May 2018 BUNDLE-INIT(1)
@@ -7,12 +7,23 @@ bundle-init(1) -- Generates a Gemfile into the current working directory
7
7
 
8
8
  ## DESCRIPTION
9
9
 
10
- Init generates a default `Gemfile(5)` in the current working directory. When
11
- adding a `Gemfile(5)` to a gem with a gemspec, the `--gemspec` option will
10
+ Init generates a default [`Gemfile(5)`][Gemfile(5)] in the current working directory. When
11
+ adding a [`Gemfile(5)`][Gemfile(5)] to a gem with a gemspec, the `--gemspec` option will
12
12
  automatically add each dependency listed in the gemspec file to the newly
13
- created `Gemfile(5)`.
13
+ created [`Gemfile(5)`][Gemfile(5)].
14
14
 
15
15
  ## OPTIONS
16
16
 
17
17
  * `--gemspec`:
18
- Use the specified .gemspec to create the `Gemfile(5)`
18
+ Use the specified .gemspec to create the [`Gemfile(5)`][Gemfile(5)]
19
+
20
+ ## FILES
21
+
22
+ Included in the default [`Gemfile(5)`][Gemfile(5)]
23
+ generated is the line `# frozen_string_literal: true`. This is a magic comment
24
+ supported for the first time in Ruby 2.3. The presence of this line
25
+ results in all string literals in the file being implicitly frozen.
26
+
27
+ ## SEE ALSO
28
+
29
+ [Gemfile(5)](http://bundler.io/man/gemfile.5.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\-INJECT" "1" "February 2017" "" ""
4
+ .TH "BUNDLE\-INJECT" "1" "February 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
@@ -10,10 +10,10 @@
10
10
  \fBbundle inject\fR [GEM] [VERSION]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- Adds the named gem(s) with their version requirements to the resolved \fBGemfile(5)\fR\.
13
+ Adds the named gem(s) with their version requirements to the resolved [\fBGemfile(5)\fR][Gemfile(5)]\.
14
14
  .
15
15
  .P
16
- This command will add the gem to both your \fBGemfile(5)\fR and Gemfile\.lock if it isn\'t listed yet\.
16
+ This command will add the gem to both your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock if it isn\'t listed yet\.
17
17
  .
18
18
  .P
19
19
  Example:
@@ -30,4 +30,4 @@ bundle inject \'rack\' \'> 0\'
30
30
  .IP "" 0
31
31
  .
32
32
  .P
33
- This will inject the \'rack\' gem with a version greater than 0 in your \fBGemfile(5)\fR and Gemfile\.lock
33
+ This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock