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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +50 -0
- data/README.md +4 -0
- data/lib/bundler.rb +2 -2
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/cli.rb +2 -0
- data/lib/bundler/cli/check.rb +1 -1
- data/lib/bundler/cli/exec.rb +3 -4
- data/lib/bundler/cli/gem.rb +5 -2
- data/lib/bundler/cli/init.rb +5 -0
- data/lib/bundler/cli/install.rb +2 -2
- data/lib/bundler/cli/outdated.rb +1 -1
- data/lib/bundler/compact_index_client/updater.rb +10 -1
- data/lib/bundler/definition.rb +16 -11
- data/lib/bundler/fetcher.rb +2 -2
- data/lib/bundler/fetcher/index.rb +2 -2
- data/lib/bundler/friendly_errors.rb +2 -0
- data/lib/bundler/injector.rb +4 -4
- data/lib/bundler/installer.rb +12 -4
- data/lib/bundler/installer/gem_installer.rb +6 -1
- data/lib/bundler/plugin/index.rb +6 -1
- data/lib/bundler/resolver/spec_group.rb +0 -1
- data/lib/bundler/rubygems_integration.rb +9 -3
- data/lib/bundler/runtime.rb +1 -1
- data/lib/bundler/source/git.rb +2 -1
- data/lib/bundler/source/git/git_proxy.rb +6 -1
- data/lib/bundler/source/rubygems.rb +6 -1
- data/lib/bundler/spec_set.rb +4 -1
- data/lib/bundler/templates/Executable +1 -1
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -2
- data/lib/bundler/ui/shell.rb +3 -1
- 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 +4 -4
- data/man/bundle-binstubs.1.txt +4 -4
- data/man/bundle-binstubs.ronn +3 -3
- data/man/bundle-check.1 +4 -4
- data/man/bundle-check.1.txt +6 -5
- data/man/bundle-check.ronn +3 -3
- data/man/bundle-config.1 +23 -6
- data/man/bundle-config.1.txt +25 -15
- data/man/bundle-config.ronn +13 -9
- data/man/bundle-doctor.1 +44 -0
- data/man/bundle-doctor.1.txt +44 -0
- data/man/bundle-doctor.ronn +33 -0
- data/man/bundle-exec.1 +4 -4
- data/man/bundle-exec.1.txt +9 -9
- data/man/bundle-exec.ronn +3 -3
- 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 +9 -4
- data/man/bundle-init.1.txt +16 -6
- data/man/bundle-init.ronn +15 -4
- data/man/bundle-inject.1 +4 -4
- data/man/bundle-inject.1.txt +5 -5
- data/man/bundle-inject.ronn +3 -3
- 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-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-pristine.1 +1 -1
- data/man/bundle-pristine.1.txt +1 -1
- data/man/bundle-show.1 +3 -3
- data/man/bundle-show.1.txt +4 -3
- data/man/bundle-show.ronn +2 -2
- data/man/bundle-update.1 +8 -8
- data/man/bundle-update.1.txt +42 -41
- data/man/bundle-update.ronn +8 -8
- data/man/bundle-viz.1 +2 -2
- data/man/bundle-viz.1.txt +3 -2
- data/man/bundle-viz.ronn +1 -1
- data/man/bundle.1 +26 -26
- data/man/bundle.1.txt +26 -26
- data/man/bundle.ronn +25 -25
- data/man/gemfile.5 +4 -4
- data/man/gemfile.5.ronn +3 -3
- data/man/gemfile.5.txt +6 -6
- data/man/index.txt +1 -0
- metadata +6 -3
data/man/bundle-update.ronn
CHANGED
@@ -20,7 +20,7 @@ bundle-update(1) -- Update your gems to the latest available versions
|
|
20
20
|
|
21
21
|
Update the gems specified (all gems, if none are specified), ignoring
|
22
22
|
the previously installed gems specified in the `Gemfile.lock`. In
|
23
|
-
general, you should use [bundle install(1)][bundle-install] to install the same exact
|
23
|
+
general, you should use [bundle install(1)][bundle-install(1)] to install the same exact
|
24
24
|
gems and versions across machines.
|
25
25
|
|
26
26
|
You would use `bundle update` to explicitly update the version of a
|
@@ -91,7 +91,7 @@ Consider the following Gemfile(5):
|
|
91
91
|
gem "rails", "3.0.0.rc"
|
92
92
|
gem "nokogiri"
|
93
93
|
|
94
|
-
When you run [bundle install(1)][bundle-install] the first time, bundler will resolve
|
94
|
+
When you run [bundle install(1)][bundle-install(1)] the first time, bundler will resolve
|
95
95
|
all of the dependencies, all the way down, and install what you need:
|
96
96
|
|
97
97
|
Fetching gem metadata from https://rubygems.org/.........
|
@@ -128,11 +128,11 @@ all of the dependencies, all the way down, and install what you need:
|
|
128
128
|
|
129
129
|
As you can see, even though you have two gems in the Gemfile(5), your application
|
130
130
|
needs 26 different gems in order to run. Bundler remembers the exact versions
|
131
|
-
it installed in `Gemfile.lock`. The next time you run [bundle install(1)][bundle-install], bundler skips
|
131
|
+
it installed in `Gemfile.lock`. The next time you run [bundle install(1)][bundle-install(1)], bundler skips
|
132
132
|
the dependency resolution and installs the same gems as it installed last time.
|
133
133
|
|
134
134
|
After checking in the `Gemfile.lock` into version control and cloning it on another
|
135
|
-
machine, running [bundle install(1)][bundle-install] will _still_ install the gems that you installed
|
135
|
+
machine, running [bundle install(1)][bundle-install(1)] will _still_ install the gems that you installed
|
136
136
|
last time. You don't need to worry that a new release of `erubis` or `mail` changes
|
137
137
|
the gems you use.
|
138
138
|
|
@@ -192,12 +192,12 @@ update all dependencies of that gem, including those that are also dependencies
|
|
192
192
|
of another gem.
|
193
193
|
|
194
194
|
To prevent updating shared dependencies, prior to version 1.14 the only option
|
195
|
-
was the `CONSERVATIVE UPDATING` behavior in [bundle install(1)][bundle-install]:
|
195
|
+
was the `CONSERVATIVE UPDATING` behavior in [bundle install(1)][bundle-install(1)]:
|
196
196
|
|
197
197
|
In this scenario, updating the `thin` version manually in the Gemfile(5),
|
198
|
-
and then running [bundle install(1)][bundle-install] will only update `daemons` and `eventmachine`,
|
198
|
+
and then running [bundle install(1)][bundle-install(1)] will only update `daemons` and `eventmachine`,
|
199
199
|
but not `rack`. For more information, see the `CONSERVATIVE UPDATING` section
|
200
|
-
of [bundle install(1)][bundle-install].
|
200
|
+
of [bundle install(1)][bundle-install(1)].
|
201
201
|
|
202
202
|
Starting with 1.14, specifying the `--conservative` option will also prevent shared
|
203
203
|
dependencies from being updated.
|
@@ -335,7 +335,7 @@ use the following workflow:
|
|
335
335
|
|
336
336
|
$ git add Gemfile.lock
|
337
337
|
|
338
|
-
* If [bundle install(1)][bundle-install] reports a conflict, manually update the specific
|
338
|
+
* If [bundle install(1)][bundle-install(1)] reports a conflict, manually update the specific
|
339
339
|
gems that you changed in the Gemfile(5)
|
340
340
|
|
341
341
|
$ bundle update rails thin
|
data/man/bundle-viz.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\-VIZ" "1" "
|
4
|
+
.TH "BUNDLE\-VIZ" "1" "February 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
|
@@ -13,7 +13,7 @@
|
|
13
13
|
\fBviz\fR generates a PNG file of the current \fBGemfile(5)\fR as a dependency graph\. \fBviz\fR requires the ruby\-graphviz gem (and its dependencies)\.
|
14
14
|
.
|
15
15
|
.P
|
16
|
-
The associated gems must also be installed via \fBbundle install(1)\fR\.
|
16
|
+
The associated gems must also be installed via [\fBbundle install(1)\fR][bundle\-install(1)]\.
|
17
17
|
.
|
18
18
|
.SH "OPTIONS"
|
19
19
|
.
|
data/man/bundle-viz.1.txt
CHANGED
@@ -13,7 +13,8 @@ DESCRIPTION
|
|
13
13
|
viz generates a PNG file of the current Gemfile(5) as a dependency
|
14
14
|
graph. viz requires the ruby-graphviz gem (and its dependencies).
|
15
15
|
|
16
|
-
The associated gems must also be installed via bundle install(1)
|
16
|
+
The associated gems must also be installed via [bundle install(1)][bun-
|
17
|
+
dle-install(1)].
|
17
18
|
|
18
19
|
OPTIONS
|
19
20
|
--file, -f
|
@@ -35,4 +36,4 @@ OPTIONS
|
|
35
36
|
|
36
37
|
|
37
38
|
|
38
|
-
|
39
|
+
February 2018 BUNDLE-VIZ(1)
|
data/man/bundle-viz.ronn
CHANGED
@@ -14,7 +14,7 @@ bundle-viz(1) -- Generates a visual dependency graph for your Gemfile
|
|
14
14
|
`viz` generates a PNG file of the current `Gemfile(5)` as a dependency graph.
|
15
15
|
`viz` requires the ruby-graphviz gem (and its dependencies).
|
16
16
|
|
17
|
-
The associated gems must also be installed via `bundle install(1)
|
17
|
+
The associated gems must also be installed via [`bundle install(1)`][bundle-install(1)].
|
18
18
|
|
19
19
|
## OPTIONS
|
20
20
|
|
data/man/bundle.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" "1" "
|
4
|
+
.TH "BUNDLE" "1" "May 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\fR \- Ruby Dependency Management
|
@@ -30,29 +30,29 @@ Specify the number of times you wish to attempt network commands
|
|
30
30
|
Print out additional logging information
|
31
31
|
.
|
32
32
|
.SH "BUNDLE COMMANDS"
|
33
|
-
We divide \fBbundle\fR subcommands into primary commands and utilities
|
33
|
+
We divide \fBbundle\fR subcommands into primary commands and utilities:
|
34
34
|
.
|
35
35
|
.SH "PRIMARY COMMANDS"
|
36
36
|
.
|
37
37
|
.TP
|
38
|
-
[\fBbundle install(1)\fR][bundle\-install]
|
38
|
+
[\fBbundle install(1)\fR][bundle\-install(1)]
|
39
39
|
Install the gems specified by the \fBGemfile\fR or \fBGemfile\.lock\fR
|
40
40
|
.
|
41
41
|
.TP
|
42
|
-
[\fBbundle update(1)\fR][bundle\-update]
|
42
|
+
[\fBbundle update(1)\fR][bundle\-update(1)]
|
43
43
|
Update dependencies to their latest versions
|
44
44
|
.
|
45
45
|
.TP
|
46
|
-
[\fBbundle package(1)\fR][bundle\-package]
|
46
|
+
[\fBbundle package(1)\fR][bundle\-package(1)]
|
47
47
|
Package the \.gem files required by your application into the \fBvendor/cache\fR directory
|
48
48
|
.
|
49
49
|
.TP
|
50
|
-
[\fBbundle exec(1)\fR][bundle\-exec]
|
51
|
-
Execute a script in the
|
50
|
+
[\fBbundle exec(1)\fR][bundle\-exec(1)]
|
51
|
+
Execute a script in the current bundle
|
52
52
|
.
|
53
53
|
.TP
|
54
|
-
[\fBbundle config(1)\fR][bundle\-config]
|
55
|
-
Specify and read configuration options for
|
54
|
+
[\fBbundle config(1)\fR][bundle\-config(1)]
|
55
|
+
Specify and read configuration options for Bundler
|
56
56
|
.
|
57
57
|
.TP
|
58
58
|
\fBbundle help(1)\fR
|
@@ -61,31 +61,31 @@ Display detailed help for each subcommand
|
|
61
61
|
.SH "UTILITIES"
|
62
62
|
.
|
63
63
|
.TP
|
64
|
-
\fBbundle add(1)\fR
|
64
|
+
[\fBbundle add(1)\fR][bundle\-add(1)]
|
65
65
|
Add the named gem to the Gemfile and run \fBbundle install\fR
|
66
66
|
.
|
67
67
|
.TP
|
68
|
-
\fBbundle binstubs(1)\fR
|
68
|
+
[\fBbundle binstubs(1)\fR][bundle\-binstubs(1)]
|
69
69
|
Generate binstubs for executables in a gem
|
70
70
|
.
|
71
71
|
.TP
|
72
|
-
\fBbundle check(1)\fR
|
73
|
-
Determine whether the requirements for your application are installed and available to
|
72
|
+
[\fBbundle check(1)\fR][bundle\-check(1)]
|
73
|
+
Determine whether the requirements for your application are installed and available to Bundler
|
74
74
|
.
|
75
75
|
.TP
|
76
|
-
\fBbundle show(1)\fR
|
76
|
+
[\fBbundle show(1)\fR][bundle\-show(1)]
|
77
77
|
Show the source location of a particular gem in the bundle
|
78
78
|
.
|
79
79
|
.TP
|
80
|
-
[\fBbundle outdated(1)\fR][bundle\-outdated]
|
80
|
+
[\fBbundle outdated(1)\fR][bundle\-outdated(1)]
|
81
81
|
Show all of the outdated gems in the current bundle
|
82
82
|
.
|
83
83
|
.TP
|
84
84
|
\fBbundle console(1)\fR
|
85
|
-
Start an IRB session in the
|
85
|
+
Start an IRB session in the current bundle
|
86
86
|
.
|
87
87
|
.TP
|
88
|
-
\fBbundle open(1)\fR
|
88
|
+
[\fBbundle open(1)\fR][bundle\-open(1)]
|
89
89
|
Open an installed gem in the editor
|
90
90
|
.
|
91
91
|
.TP
|
@@ -93,34 +93,34 @@ Open an installed gem in the editor
|
|
93
93
|
Generate a lockfile for your dependencies
|
94
94
|
.
|
95
95
|
.TP
|
96
|
-
\fBbundle viz(1)\fR
|
96
|
+
[\fBbundle viz(1)\fR][bundle\-viz(1)]
|
97
97
|
Generate a visual representation of your dependencies
|
98
98
|
.
|
99
99
|
.TP
|
100
|
-
\fBbundle init(1)\fR
|
100
|
+
[\fBbundle init(1)\fR][bundle\-init(1)]
|
101
101
|
Generate a simple \fBGemfile\fR, placed in the current directory
|
102
102
|
.
|
103
103
|
.TP
|
104
|
-
[\fBbundle gem(1)\fR][bundle\-gem]
|
105
|
-
Create a simple gem, suitable for development with
|
104
|
+
[\fBbundle gem(1)\fR][bundle\-gem(1)]
|
105
|
+
Create a simple gem, suitable for development with Bundler
|
106
106
|
.
|
107
107
|
.TP
|
108
|
-
[\fBbundle platform(1)\fR][bundle\-platform]
|
108
|
+
[\fBbundle platform(1)\fR][bundle\-platform(1)]
|
109
109
|
Display platform compatibility information
|
110
110
|
.
|
111
111
|
.TP
|
112
|
-
\fBbundle clean(1)\fR
|
113
|
-
Clean up unused gems in your
|
112
|
+
[\fBbundle clean(1)\fR][bundle\-clean(1)]
|
113
|
+
Clean up unused gems in your Bundler directory
|
114
114
|
.
|
115
115
|
.TP
|
116
116
|
\fBbundle doctor(1)\fR
|
117
|
-
Display warnings about common
|
117
|
+
Display warnings about common problems
|
118
118
|
.
|
119
119
|
.SH "PLUGINS"
|
120
120
|
When running a command that isn\'t listed in PRIMARY COMMANDS or UTILITIES, Bundler will try to find an executable on your path named \fBbundler\-<command>\fR and execute it, passing down any extra arguments to it\.
|
121
121
|
.
|
122
122
|
.SH "OBSOLETE"
|
123
|
-
These commands are obsolete and should no longer be used
|
123
|
+
These commands are obsolete and should no longer be used:
|
124
124
|
.
|
125
125
|
.IP "\(bu" 4
|
126
126
|
\fBbundle cache(1)\fR
|
data/man/bundle.1.txt
CHANGED
@@ -26,71 +26,71 @@ OPTIONS
|
|
26
26
|
Print out additional logging information
|
27
27
|
|
28
28
|
BUNDLE COMMANDS
|
29
|
-
We divide bundle subcommands into primary commands and utilities
|
29
|
+
We divide bundle subcommands into primary commands and utilities:
|
30
30
|
|
31
31
|
PRIMARY COMMANDS
|
32
|
-
[bundle install(1)][bundle-install]
|
32
|
+
[bundle install(1)][bundle-install(1)]
|
33
33
|
Install the gems specified by the Gemfile or Gemfile.lock
|
34
34
|
|
35
|
-
[bundle update(1)][bundle-update]
|
35
|
+
[bundle update(1)][bundle-update(1)]
|
36
36
|
Update dependencies to their latest versions
|
37
37
|
|
38
|
-
[bundle package(1)][bundle-package]
|
38
|
+
[bundle package(1)][bundle-package(1)]
|
39
39
|
Package the .gem files required by your application into the
|
40
40
|
vendor/cache directory
|
41
41
|
|
42
|
-
[bundle exec(1)][bundle-exec]
|
43
|
-
Execute a script in the
|
42
|
+
[bundle exec(1)][bundle-exec(1)]
|
43
|
+
Execute a script in the current bundle
|
44
44
|
|
45
|
-
[bundle config(1)][bundle-config]
|
46
|
-
Specify and read configuration options for
|
45
|
+
[bundle config(1)][bundle-config(1)]
|
46
|
+
Specify and read configuration options for Bundler
|
47
47
|
|
48
48
|
bundle help(1)
|
49
49
|
Display detailed help for each subcommand
|
50
50
|
|
51
51
|
UTILITIES
|
52
|
-
bundle add(1)
|
52
|
+
[bundle add(1)][bundle-add(1)]
|
53
53
|
Add the named gem to the Gemfile and run bundle install
|
54
54
|
|
55
|
-
bundle binstubs(1)
|
55
|
+
[bundle binstubs(1)][bundle-binstubs(1)]
|
56
56
|
Generate binstubs for executables in a gem
|
57
57
|
|
58
|
-
bundle check(1)
|
58
|
+
[bundle check(1)][bundle-check(1)]
|
59
59
|
Determine whether the requirements for your application are
|
60
|
-
installed and available to
|
60
|
+
installed and available to Bundler
|
61
61
|
|
62
|
-
bundle show(1)
|
62
|
+
[bundle show(1)][bundle-show(1)]
|
63
63
|
Show the source location of a particular gem in the bundle
|
64
64
|
|
65
|
-
[bundle outdated(1)][bundle-outdated]
|
65
|
+
[bundle outdated(1)][bundle-outdated(1)]
|
66
66
|
Show all of the outdated gems in the current bundle
|
67
67
|
|
68
68
|
bundle console(1)
|
69
|
-
Start an IRB session in the
|
69
|
+
Start an IRB session in the current bundle
|
70
70
|
|
71
|
-
bundle open(1)
|
71
|
+
[bundle open(1)][bundle-open(1)]
|
72
72
|
Open an installed gem in the editor
|
73
73
|
|
74
74
|
[bundle lock(1)][bundle-lock]
|
75
75
|
Generate a lockfile for your dependencies
|
76
76
|
|
77
|
-
bundle viz(1)
|
77
|
+
[bundle viz(1)][bundle-viz(1)]
|
78
78
|
Generate a visual representation of your dependencies
|
79
79
|
|
80
|
-
bundle init(1)
|
80
|
+
[bundle init(1)][bundle-init(1)]
|
81
81
|
Generate a simple Gemfile, placed in the current directory
|
82
82
|
|
83
|
-
[bundle gem(1)][bundle-gem]
|
84
|
-
Create a simple gem, suitable for development with
|
83
|
+
[bundle gem(1)][bundle-gem(1)]
|
84
|
+
Create a simple gem, suitable for development with Bundler
|
85
85
|
|
86
|
-
[bundle platform(1)][bundle-platform]
|
86
|
+
[bundle platform(1)][bundle-platform(1)]
|
87
87
|
Display platform compatibility information
|
88
88
|
|
89
|
-
bundle clean(1)
|
90
|
-
Clean up unused gems in your
|
89
|
+
[bundle clean(1)][bundle-clean(1)]
|
90
|
+
Clean up unused gems in your Bundler directory
|
91
91
|
|
92
92
|
bundle doctor(1)
|
93
|
-
Display warnings about common
|
93
|
+
Display warnings about common problems
|
94
94
|
|
95
95
|
PLUGINS
|
96
96
|
When running a command that isn't listed in PRIMARY COMMANDS or UTILI-
|
@@ -99,7 +99,7 @@ PLUGINS
|
|
99
99
|
it.
|
100
100
|
|
101
101
|
OBSOLETE
|
102
|
-
These commands are obsolete and should no longer be used
|
102
|
+
These commands are obsolete and should no longer be used:
|
103
103
|
|
104
104
|
o bundle cache(1)
|
105
105
|
|
@@ -110,4 +110,4 @@ OBSOLETE
|
|
110
110
|
|
111
111
|
|
112
112
|
|
113
|
-
|
113
|
+
May 2018 BUNDLE(1)
|
data/man/bundle.ronn
CHANGED
@@ -26,73 +26,73 @@ started, and Gemfile(5) for more information on the `Gemfile` format.
|
|
26
26
|
|
27
27
|
## BUNDLE COMMANDS
|
28
28
|
|
29
|
-
We divide `bundle` subcommands into primary commands and utilities
|
29
|
+
We divide `bundle` subcommands into primary commands and utilities:
|
30
30
|
|
31
31
|
## PRIMARY COMMANDS
|
32
32
|
|
33
|
-
* [`bundle install(1)`][bundle-install]:
|
33
|
+
* [`bundle install(1)`][bundle-install(1)]:
|
34
34
|
Install the gems specified by the `Gemfile` or `Gemfile.lock`
|
35
35
|
|
36
|
-
* [`bundle update(1)`][bundle-update]:
|
36
|
+
* [`bundle update(1)`][bundle-update(1)]:
|
37
37
|
Update dependencies to their latest versions
|
38
38
|
|
39
|
-
* [`bundle package(1)`][bundle-package]:
|
39
|
+
* [`bundle package(1)`][bundle-package(1)]:
|
40
40
|
Package the .gem files required by your application into the
|
41
41
|
`vendor/cache` directory
|
42
42
|
|
43
|
-
* [`bundle exec(1)`][bundle-exec]:
|
44
|
-
Execute a script in the
|
43
|
+
* [`bundle exec(1)`][bundle-exec(1)]:
|
44
|
+
Execute a script in the current bundle
|
45
45
|
|
46
|
-
* [`bundle config(1)`][bundle-config]:
|
47
|
-
Specify and read configuration options for
|
46
|
+
* [`bundle config(1)`][bundle-config(1)]:
|
47
|
+
Specify and read configuration options for Bundler
|
48
48
|
|
49
49
|
* `bundle help(1)`:
|
50
50
|
Display detailed help for each subcommand
|
51
51
|
|
52
52
|
## UTILITIES
|
53
53
|
|
54
|
-
* `bundle add(1)
|
54
|
+
* [`bundle add(1)`][bundle-add(1)]:
|
55
55
|
Add the named gem to the Gemfile and run `bundle install`
|
56
56
|
|
57
|
-
* `bundle binstubs(1)
|
57
|
+
* [`bundle binstubs(1)`][bundle-binstubs(1)]:
|
58
58
|
Generate binstubs for executables in a gem
|
59
59
|
|
60
|
-
* `bundle check(1)
|
60
|
+
* [`bundle check(1)`][bundle-check(1)]:
|
61
61
|
Determine whether the requirements for your application are installed
|
62
|
-
and available to
|
62
|
+
and available to Bundler
|
63
63
|
|
64
|
-
* `bundle show(1)
|
64
|
+
* [`bundle show(1)`][bundle-show(1)]:
|
65
65
|
Show the source location of a particular gem in the bundle
|
66
66
|
|
67
|
-
* [`bundle outdated(1)`][bundle-outdated]:
|
67
|
+
* [`bundle outdated(1)`][bundle-outdated(1)]:
|
68
68
|
Show all of the outdated gems in the current bundle
|
69
69
|
|
70
70
|
* `bundle console(1)`:
|
71
|
-
Start an IRB session in the
|
71
|
+
Start an IRB session in the current bundle
|
72
72
|
|
73
|
-
* `bundle open(1)
|
73
|
+
* [`bundle open(1)`][bundle-open(1)]:
|
74
74
|
Open an installed gem in the editor
|
75
75
|
|
76
76
|
* [`bundle lock(1)`][bundle-lock]:
|
77
77
|
Generate a lockfile for your dependencies
|
78
78
|
|
79
|
-
* `bundle viz(1)
|
79
|
+
* [`bundle viz(1)`][bundle-viz(1)]:
|
80
80
|
Generate a visual representation of your dependencies
|
81
81
|
|
82
|
-
* `bundle init(1)
|
82
|
+
* [`bundle init(1)`][bundle-init(1)]:
|
83
83
|
Generate a simple `Gemfile`, placed in the current directory
|
84
84
|
|
85
|
-
* [`bundle gem(1)`][bundle-gem]:
|
86
|
-
Create a simple gem, suitable for development with
|
85
|
+
* [`bundle gem(1)`][bundle-gem(1)]:
|
86
|
+
Create a simple gem, suitable for development with Bundler
|
87
87
|
|
88
|
-
* [`bundle platform(1)`][bundle-platform]:
|
88
|
+
* [`bundle platform(1)`][bundle-platform(1)]:
|
89
89
|
Display platform compatibility information
|
90
90
|
|
91
|
-
* `bundle clean(1)
|
92
|
-
Clean up unused gems in your
|
91
|
+
* [`bundle clean(1)`][bundle-clean(1)]:
|
92
|
+
Clean up unused gems in your Bundler directory
|
93
93
|
|
94
94
|
* `bundle doctor(1)`:
|
95
|
-
Display warnings about common
|
95
|
+
Display warnings about common problems
|
96
96
|
|
97
97
|
## PLUGINS
|
98
98
|
|
@@ -102,7 +102,7 @@ and execute it, passing down any extra arguments to it.
|
|
102
102
|
|
103
103
|
## OBSOLETE
|
104
104
|
|
105
|
-
These commands are obsolete and should no longer be used
|
105
|
+
These commands are obsolete and should no longer be used:
|
106
106
|
|
107
107
|
* `bundle cache(1)`
|
108
108
|
* `bundle show(1)`
|
data/man/gemfile.5
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 "GEMFILE" "5" "
|
4
|
+
.TH "GEMFILE" "5" "February 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBGemfile\fR \- A format for describing gem dependencies for Ruby programs
|
@@ -35,7 +35,7 @@ It is possible, but not recommended as of Bundler 1\.7, to add multiple global \
|
|
35
35
|
Sources are checked for gems following the heuristics described in \fISOURCE PRIORITY\fR\. If a gem is found in more than one global source, Bundler will print a warning after installing the gem indicating which source was used, and listing the other sources where the gem is available\. A specific source can be selected for gems that need to use a non\-standard repository, suppressing this warning, by using the \fI\fB:source\fR option\fR or a \fI\fBsource\fR block\fR\.
|
36
36
|
.
|
37
37
|
.SS "CREDENTIALS"
|
38
|
-
Some gem sources require a username and password\. Use [bundle config(1)][bundle\-config] to set the username and password for any of the sources that need it\. The command must be run once on each computer that will install the Gemfile, but this keeps the credentials from being stored in plain text in version control\.
|
38
|
+
Some gem sources require a username and password\. Use [bundle config(1)][bundle\-config(1)] to set the username and password for any of the sources that need it\. The command must be run once on each computer that will install the Gemfile, but this keeps the credentials from being stored in plain text in version control\.
|
39
39
|
.
|
40
40
|
.IP "" 4
|
41
41
|
.
|
@@ -325,7 +325,7 @@ gem "nokogiri", :platforms => [:mri_18, :jruby]
|
|
325
325
|
.IP "" 0
|
326
326
|
.
|
327
327
|
.P
|
328
|
-
All operations involving groups (\fBbundle install\fR, \fBBundler\.setup\fR, \fBBundler\.require\fR) behave exactly the same as if any groups not matching the current platform were explicitly excluded\.
|
328
|
+
All operations involving groups ([\fBbundle install\fR][bundle\-install(1)], \fBBundler\.setup\fR, \fBBundler\.require\fR) behave exactly the same as if any groups not matching the current platform were explicitly excluded\.
|
329
329
|
.
|
330
330
|
.SS "SOURCE"
|
331
331
|
You can select an alternate Rubygems repository for a gem using the \':source\' option\.
|
@@ -649,7 +649,7 @@ end
|
|
649
649
|
.IP "" 0
|
650
650
|
.
|
651
651
|
.SH "GEMSPEC"
|
652
|
-
The \.gemspec \fIhttp://guides\.rubygems\.org/specification\-reference/\fR file is where you provide metadata about your gem to Rubygems\. Some required Gemspec attributes include the name, description, and homepage of your gem\. This is also where you specify the dependencies your gem needs to run\.
|
652
|
+
The \fB\.gemspec\fR \fIhttp://guides\.rubygems\.org/specification\-reference/\fR file is where you provide metadata about your gem to Rubygems\. Some required Gemspec attributes include the name, description, and homepage of your gem\. This is also where you specify the dependencies your gem needs to run\.
|
653
653
|
.
|
654
654
|
.P
|
655
655
|
If you wish to use Bundler to help install dependencies for a gem while it is being developed, use the \fBgemspec\fR method to pull in the dependencies listed in the \fB\.gemspec\fR file\.
|