bundler 2.7.1 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/checksum.rb +6 -0
- data/lib/bundler/cli/cache.rb +0 -1
- data/lib/bundler/cli/common.rb +1 -1
- data/lib/bundler/cli/install.rb +0 -2
- data/lib/bundler/cli/lock.rb +5 -5
- data/lib/bundler/cli/show.rb +2 -6
- data/lib/bundler/cli.rb +29 -19
- data/lib/bundler/definition.rb +77 -60
- data/lib/bundler/dsl.rb +1 -1
- data/lib/bundler/feature_flag.rb +1 -1
- data/lib/bundler/man/bundle-add.1 +1 -1
- data/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/lib/bundler/man/bundle-cache.1 +1 -1
- data/lib/bundler/man/bundle-check.1 +1 -1
- data/lib/bundler/man/bundle-clean.1 +1 -1
- data/lib/bundler/man/bundle-config.1 +31 -14
- data/lib/bundler/man/bundle-config.1.ronn +49 -20
- data/lib/bundler/man/bundle-console.1 +1 -1
- data/lib/bundler/man/bundle-doctor.1 +4 -4
- data/lib/bundler/man/bundle-doctor.1.ronn +4 -4
- data/lib/bundler/man/bundle-env.1 +1 -1
- data/lib/bundler/man/bundle-exec.1 +1 -1
- data/lib/bundler/man/bundle-fund.1 +1 -1
- data/lib/bundler/man/bundle-gem.1 +1 -1
- data/lib/bundler/man/bundle-help.1 +1 -1
- data/lib/bundler/man/bundle-info.1 +1 -1
- data/lib/bundler/man/bundle-init.1 +1 -1
- data/lib/bundler/man/bundle-inject.1 +1 -1
- data/lib/bundler/man/bundle-install.1 +1 -1
- data/lib/bundler/man/bundle-issue.1 +1 -1
- data/lib/bundler/man/bundle-licenses.1 +1 -1
- data/lib/bundler/man/bundle-list.1 +1 -1
- data/lib/bundler/man/bundle-lock.1 +1 -1
- data/lib/bundler/man/bundle-open.1 +1 -1
- data/lib/bundler/man/bundle-outdated.1 +1 -1
- data/lib/bundler/man/bundle-platform.1 +1 -1
- data/lib/bundler/man/bundle-plugin.1 +40 -15
- data/lib/bundler/man/bundle-plugin.1.ronn +44 -15
- data/lib/bundler/man/bundle-pristine.1 +1 -1
- data/lib/bundler/man/bundle-remove.1 +1 -1
- data/lib/bundler/man/bundle-show.1 +1 -1
- data/lib/bundler/man/bundle-update.1 +1 -1
- data/lib/bundler/man/bundle-version.1 +1 -1
- data/lib/bundler/man/bundle-viz.1 +1 -1
- data/lib/bundler/man/bundle.1 +1 -1
- data/lib/bundler/man/gemfile.5 +1 -1
- data/lib/bundler/resolver/package.rb +1 -0
- data/lib/bundler/settings.rb +1 -1
- data/lib/bundler/source/gemspec.rb +4 -0
- data/lib/bundler/source/path.rb +2 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +3 -3
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +42 -6
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +3 -7
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/version.rb +1 -1
- metadata +2 -2
@@ -3,10 +3,10 @@ bundle-config(1) -- Set bundler configuration options
|
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`bundle config` list<br>
|
7
|
-
`bundle config` [get] NAME<br>
|
8
|
-
`bundle config` [set] NAME VALUE<br>
|
9
|
-
`bundle config` unset NAME
|
6
|
+
`bundle config` [list]<br>
|
7
|
+
`bundle config` [get [--local|--global]] NAME<br>
|
8
|
+
`bundle config` [set [--local|--global]] NAME VALUE<br>
|
9
|
+
`bundle config` unset [--local|--global] NAME
|
10
10
|
|
11
11
|
## DESCRIPTION
|
12
12
|
|
@@ -19,38 +19,67 @@ Bundler loads configuration settings in this order:
|
|
19
19
|
3. Global config (`~/.bundle/config`)
|
20
20
|
4. Bundler default config
|
21
21
|
|
22
|
+
Executing `bundle` with the `BUNDLE_IGNORE_CONFIG` environment variable set will
|
23
|
+
cause it to ignore all configuration.
|
24
|
+
|
25
|
+
## SUB-COMMANDS
|
26
|
+
|
27
|
+
### list (default command)
|
28
|
+
|
22
29
|
Executing `bundle config list` will print a list of all bundler
|
23
30
|
configuration for the current bundle, and where that configuration
|
24
31
|
was set.
|
25
32
|
|
33
|
+
### get
|
34
|
+
|
26
35
|
Executing `bundle config get <name>` will print the value of that configuration
|
27
|
-
setting, and where it was set.
|
36
|
+
setting, and all locations where it was set.
|
37
|
+
|
38
|
+
**OPTIONS**
|
39
|
+
|
40
|
+
* `--local`:
|
41
|
+
Get configuration from configuration file for the local application, namely,
|
42
|
+
`<project_root>/.bundle/config`, or `$BUNDLE_APP_CONFIG/config` if
|
43
|
+
`BUNDLE_APP_CONFIG` is set.
|
44
|
+
|
45
|
+
* `--global`:
|
46
|
+
Get configuration from configuration file global to all bundles executed as
|
47
|
+
the current user, namely, from `~/.bundle/config`.
|
48
|
+
|
49
|
+
### set
|
28
50
|
|
29
51
|
Executing `bundle config set <name> <value>` defaults to setting `local`
|
30
52
|
configuration if executing from within a local application, otherwise it will
|
31
|
-
set `global` configuration.
|
53
|
+
set `global` configuration.
|
32
54
|
|
33
|
-
|
34
|
-
in the directory for the local application. The configuration will be stored in
|
35
|
-
`<project_root>/.bundle/config`. If `BUNDLE_APP_CONFIG` is set, the configuration
|
36
|
-
will be stored in `$BUNDLE_APP_CONFIG/config`.
|
55
|
+
**OPTIONS**
|
37
56
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
is set,
|
57
|
+
* `--local`:
|
58
|
+
Executing `bundle config set --local <name> <value>` will set that configuration
|
59
|
+
in the directory for the local application. The configuration will be stored in
|
60
|
+
`<project_root>/.bundle/config`. If `BUNDLE_APP_CONFIG` is set, the configuration
|
61
|
+
will be stored in `$BUNDLE_APP_CONFIG/config`.
|
62
|
+
|
63
|
+
* `--global`:
|
64
|
+
Executing `bundle config set --global <name> <value>` will set that
|
65
|
+
configuration to the value specified for all bundles executed as the current
|
66
|
+
user. The configuration will be stored in `~/.bundle/config`. If <name> already
|
67
|
+
is set, <name> will be overridden and user will be warned.
|
68
|
+
|
69
|
+
### unset
|
42
70
|
|
43
71
|
Executing `bundle config unset <name>` will delete the configuration in both
|
44
72
|
local and global sources.
|
45
73
|
|
46
|
-
|
47
|
-
only from the user configuration.
|
74
|
+
**OPTIONS**
|
48
75
|
|
49
|
-
|
50
|
-
|
76
|
+
* `--local`:
|
77
|
+
Executing `bundle config unset --local <name>` will delete the configuration
|
78
|
+
only from the local application.
|
51
79
|
|
52
|
-
|
53
|
-
|
80
|
+
* `--global`:
|
81
|
+
Executing `bundle config unset --global <name>` will delete the configuration
|
82
|
+
only from the user configuration.
|
54
83
|
|
55
84
|
## CONFIGURATION KEYS
|
56
85
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-CONSOLE" "1" "
|
3
|
+
.TH "BUNDLE\-CONSOLE" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-console\fR \- Open an IRB session with the bundle pre\-loaded
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-DOCTOR" "1" "
|
3
|
+
.TH "BUNDLE\-DOCTOR" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-doctor\fR \- Checks the bundle for common problems
|
6
6
|
.SH "SYNOPSIS"
|
7
7
|
\fBbundle doctor [diagnose]\fR [\-\-quiet] [\-\-gemfile=GEMFILE] [\-\-ssl]
|
8
8
|
.br
|
9
|
-
\fBbundle doctor ssl\fR [\-\-host=HOST] [\-\-tls\-version=VERSION] [\-\-verify\-mode=MODE]
|
9
|
+
\fBbundle doctor ssl\fR [\-\-host=HOST] [\-\-tls\-version=TLS\-VERSION] [\-\-verify\-mode=VERIFY\-MODE]
|
10
10
|
.br
|
11
11
|
\fBbundle doctor\fR help [COMMAND]
|
12
12
|
.SH "DESCRIPTION"
|
@@ -57,12 +57,12 @@ Open a TLS connection and verify the outcome\.
|
|
57
57
|
\fB\-\-host=HOST\fR
|
58
58
|
Perform the diagnostic on HOST\. Defaults to \fBrubygems\.org\fR\.
|
59
59
|
.TP
|
60
|
-
\fB\-\-tls\-version=VERSION\fR
|
60
|
+
\fB\-\-tls\-version=TLS\-VERSION\fR
|
61
61
|
Specify the TLS version when opening the connection to HOST\.
|
62
62
|
.IP
|
63
63
|
Accepted values are: \fB1\.1\fR or \fB1\.2\fR\.
|
64
64
|
.TP
|
65
|
-
\fB\-\-verify\-mode=MODE\fR
|
65
|
+
\fB\-\-verify\-mode=VERIFY\-MODE\fR
|
66
66
|
Specify the TLS verify mode when opening the connection to HOST\. Defaults to \fBSSL_VERIFY_PEER\fR\.
|
67
67
|
.IP
|
68
68
|
Accepted values are: \fBCLIENT_ONCE\fR, \fBFAIL_IF_NO_PEER_CERT\fR, \fBNONE\fR, \fBPEER\fR\.
|
@@ -7,8 +7,8 @@ bundle-doctor(1) -- Checks the bundle for common problems
|
|
7
7
|
[--gemfile=GEMFILE]
|
8
8
|
[--ssl]<br>
|
9
9
|
`bundle doctor ssl` [--host=HOST]
|
10
|
-
[--tls-version=VERSION]
|
11
|
-
[--verify-mode=MODE]<br>
|
10
|
+
[--tls-version=TLS-VERSION]
|
11
|
+
[--verify-mode=VERIFY-MODE]<br>
|
12
12
|
`bundle doctor` help [COMMAND]
|
13
13
|
|
14
14
|
## DESCRIPTION
|
@@ -65,12 +65,12 @@ The diagnostic will perform a few checks such as:
|
|
65
65
|
* `--host=HOST`:
|
66
66
|
Perform the diagnostic on HOST. Defaults to `rubygems.org`.
|
67
67
|
|
68
|
-
* `--tls-version=VERSION`:
|
68
|
+
* `--tls-version=TLS-VERSION`:
|
69
69
|
Specify the TLS version when opening the connection to HOST.
|
70
70
|
|
71
71
|
Accepted values are: `1.1` or `1.2`.
|
72
72
|
|
73
|
-
* `--verify-mode=MODE`:
|
73
|
+
* `--verify-mode=VERIFY-MODE`:
|
74
74
|
Specify the TLS verify mode when opening the connection to HOST.
|
75
75
|
Defaults to `SSL_VERIFY_PEER`.
|
76
76
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-ENV" "1" "
|
3
|
+
.TH "BUNDLE\-ENV" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-env\fR \- Print information about the environment Bundler is running under
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-EXEC" "1" "
|
3
|
+
.TH "BUNDLE\-EXEC" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-FUND" "1" "
|
3
|
+
.TH "BUNDLE\-FUND" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-fund\fR \- Lists information about gems seeking funding assistance
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-GEM" "1" "
|
3
|
+
.TH "BUNDLE\-GEM" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-INFO" "1" "
|
3
|
+
.TH "BUNDLE\-INFO" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-info\fR \- Show information for the given gem in your bundle
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-INIT" "1" "
|
3
|
+
.TH "BUNDLE\-INIT" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-INJECT" "1" "
|
3
|
+
.TH "BUNDLE\-INJECT" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-INSTALL" "1" "
|
3
|
+
.TH "BUNDLE\-INSTALL" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-LICENSES" "1" "
|
3
|
+
.TH "BUNDLE\-LICENSES" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-licenses\fR \- Print the license of all gems in the bundle
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-LOCK" "1" "
|
3
|
+
.TH "BUNDLE\-LOCK" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-OPEN" "1" "
|
3
|
+
.TH "BUNDLE\-OPEN" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-OUTDATED" "1" "
|
3
|
+
.TH "BUNDLE\-OUTDATED" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-outdated\fR \- List installed gems with newer versions available
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-PLATFORM" "1" "
|
3
|
+
.TH "BUNDLE\-PLATFORM" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-platform\fR \- Displays platform compatibility information
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-PLUGIN" "1" "
|
3
|
+
.TH "BUNDLE\-PLUGIN" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-plugin\fR \- Manage Bundler plugins
|
6
6
|
.SH "SYNOPSIS"
|
7
|
-
\fBbundle plugin\fR install PLUGINS [\-\-source
|
7
|
+
\fBbundle plugin\fR install PLUGINS [\-\-source=SOURCE] [\-\-version=VERSION] [\-\-git=GIT] [\-\-branch=BRANCH|\-\-ref=REF] [\-\-local\-git=LOCAL_GIT] [\-\-path=PATH]
|
8
8
|
.br
|
9
|
-
\fBbundle plugin\fR uninstall PLUGINS
|
9
|
+
\fBbundle plugin\fR uninstall PLUGINS [\-\-all]
|
10
10
|
.br
|
11
11
|
\fBbundle plugin\fR list
|
12
12
|
.br
|
@@ -16,18 +16,23 @@ You can install, uninstall, and list plugin(s) with this command to extend funct
|
|
16
16
|
.SH "SUB\-COMMANDS"
|
17
17
|
.SS "install"
|
18
18
|
Install the given plugin(s)\.
|
19
|
+
.P
|
20
|
+
For example, \fBbundle plugin install bundler\-graph\fR will install bundler\-graph gem from globally configured sources (defaults to RubyGems\.org)\. Note that the global source specified in Gemfile is ignored\.
|
21
|
+
.P
|
22
|
+
\fBOPTIONS\fR
|
19
23
|
.TP
|
20
|
-
\
|
21
|
-
Install
|
22
|
-
.
|
23
|
-
\fBbundle plugin install bundler\-graph \-\-source https://example\.com\fR
|
24
|
-
Install bundler\-graph gem from example\.com\. The global source, specified in source in Gemfile is not considered\.
|
24
|
+
\fB\-\-source=SOURCE\fR
|
25
|
+
Install the plugin gem from a specific source, rather than from globally configured sources\.
|
26
|
+
.IP
|
27
|
+
Example: \fBbundle plugin install bundler\-graph \-\-source https://example\.com\fR
|
25
28
|
.TP
|
26
|
-
\
|
27
|
-
|
29
|
+
\fB\-\-version=VERSION\fR
|
30
|
+
Specify a version of the plugin gem to install via \fB\-\-version\fR\.
|
31
|
+
.IP
|
32
|
+
Example: \fBbundle plugin install bundler\-graph \-\-version 0\.2\.1\fR
|
28
33
|
.TP
|
29
|
-
\
|
30
|
-
Install
|
34
|
+
\fB\-\-git=GIT\fR
|
35
|
+
Install the plugin gem from a Git repository\. You can use standard Git URLs like:
|
31
36
|
.IP
|
32
37
|
\fBssh://[user@]host\.xz[:port]/path/to/repo\.git\fR
|
33
38
|
.br
|
@@ -37,12 +42,32 @@ Install bundler\-graph gem from Git repository\. You can use standard Git URLs l
|
|
37
42
|
.br
|
38
43
|
\fBfile:///path/to/repo\fR
|
39
44
|
.IP
|
40
|
-
|
45
|
+
Example: \fBbundle plugin install bundler\-graph \-\-git https://github\.com/rubygems/bundler\-graph\fR
|
46
|
+
.TP
|
47
|
+
\fB\-\-branch=BRANCH\fR
|
48
|
+
When you specify \fB\-\-git\fR, you can use \fB\-\-branch\fR to use\.
|
49
|
+
.TP
|
50
|
+
\fB\-\-ref=REF\fR
|
51
|
+
When you specify \fB\-\-git\fR, you can use \fB\-\-ref\fR to specify any tag, or commit hash (revision) to use\.
|
41
52
|
.TP
|
42
|
-
\
|
43
|
-
Install
|
53
|
+
\fB\-\-path=PATH\fR
|
54
|
+
Install the plugin gem from a local path\.
|
55
|
+
.IP
|
56
|
+
Example: \fBbundle plugin install bundler\-graph \-\-path \.\./bundler\-graph\fR
|
57
|
+
.TP
|
58
|
+
\fB\-\-local\-git=LOCAL_GIT\fR
|
59
|
+
Install the plugin gem from a local Git repository\.
|
60
|
+
.IP
|
61
|
+
Example: \fBbundle plugin install bundler\-graph \-\-local\-git \.\./bundler\-graph\fR\.
|
62
|
+
.IP
|
63
|
+
This option is deprecated in favor of \fB\-\-git\fR\.
|
44
64
|
.SS "uninstall"
|
45
65
|
Uninstall the plugin(s) specified in PLUGINS\.
|
66
|
+
.P
|
67
|
+
\fBOPTIONS\fR
|
68
|
+
.TP
|
69
|
+
\fB\-\-all\fR
|
70
|
+
Uninstall all the installed plugins\. If no plugin is installed, then it does nothing\.
|
46
71
|
.SS "list"
|
47
72
|
List the installed plugins and available commands\.
|
48
73
|
.P
|
@@ -3,10 +3,11 @@ bundle-plugin(1) -- Manage Bundler plugins
|
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`bundle plugin` install PLUGINS [--source
|
7
|
-
[--git
|
8
|
-
[--
|
9
|
-
|
6
|
+
`bundle plugin` install PLUGINS [--source=SOURCE] [--version=VERSION]
|
7
|
+
[--git=GIT] [--branch=BRANCH|--ref=REF]
|
8
|
+
[--local-git=LOCAL_GIT]
|
9
|
+
[--path=PATH]<br>
|
10
|
+
`bundle plugin` uninstall PLUGINS [--all]<br>
|
10
11
|
`bundle plugin` list<br>
|
11
12
|
`bundle plugin` help [COMMAND]
|
12
13
|
|
@@ -20,32 +21,60 @@ You can install, uninstall, and list plugin(s) with this command to extend funct
|
|
20
21
|
|
21
22
|
Install the given plugin(s).
|
22
23
|
|
23
|
-
|
24
|
-
|
24
|
+
For example, `bundle plugin install bundler-graph` will install bundler-graph
|
25
|
+
gem from globally configured sources (defaults to RubyGems.org). Note that the
|
26
|
+
global source specified in Gemfile is ignored.
|
25
27
|
|
26
|
-
|
27
|
-
Install bundler-graph gem from example.com. The global source, specified in source in Gemfile is not considered.
|
28
|
+
**OPTIONS**
|
28
29
|
|
29
|
-
*
|
30
|
-
|
30
|
+
* `--source=SOURCE`:
|
31
|
+
Install the plugin gem from a specific source, rather than from globally configured sources.
|
31
32
|
|
32
|
-
|
33
|
-
|
33
|
+
Example: `bundle plugin install bundler-graph --source https://example.com`
|
34
|
+
|
35
|
+
* `--version=VERSION`:
|
36
|
+
Specify a version of the plugin gem to install via `--version`.
|
37
|
+
|
38
|
+
Example: `bundle plugin install bundler-graph --version 0.2.1`
|
39
|
+
|
40
|
+
* `--git=GIT`:
|
41
|
+
Install the plugin gem from a Git repository. You can use standard Git URLs like:
|
34
42
|
|
35
43
|
`ssh://[user@]host.xz[:port]/path/to/repo.git`<br>
|
36
44
|
`http[s]://host.xz[:port]/path/to/repo.git`<br>
|
37
45
|
`/path/to/repo`<br>
|
38
46
|
`file:///path/to/repo`
|
39
47
|
|
40
|
-
|
48
|
+
Example: `bundle plugin install bundler-graph --git https://github.com/rubygems/bundler-graph`
|
49
|
+
|
50
|
+
* `--branch=BRANCH`:
|
51
|
+
When you specify `--git`, you can use `--branch` to use.
|
52
|
+
|
53
|
+
* `--ref=REF`:
|
54
|
+
When you specify `--git`, you can use `--ref` to specify any tag, or commit
|
55
|
+
hash (revision) to use.
|
56
|
+
|
57
|
+
* `--path=PATH`:
|
58
|
+
Install the plugin gem from a local path.
|
41
59
|
|
42
|
-
|
43
|
-
|
60
|
+
Example: `bundle plugin install bundler-graph --path ../bundler-graph`
|
61
|
+
|
62
|
+
* `--local-git=LOCAL_GIT`:
|
63
|
+
Install the plugin gem from a local Git repository.
|
64
|
+
|
65
|
+
Example: `bundle plugin install bundler-graph --local-git ../bundler-graph`.
|
66
|
+
|
67
|
+
This option is deprecated in favor of `--git`.
|
44
68
|
|
45
69
|
### uninstall
|
46
70
|
|
47
71
|
Uninstall the plugin(s) specified in PLUGINS.
|
48
72
|
|
73
|
+
**OPTIONS**
|
74
|
+
|
75
|
+
* `--all`:
|
76
|
+
Uninstall all the installed plugins. If no plugin is installed, then it does nothing.
|
77
|
+
|
49
78
|
### list
|
50
79
|
|
51
80
|
List the installed plugins and available commands.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-PRISTINE" "1" "
|
3
|
+
.TH "BUNDLE\-PRISTINE" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-SHOW" "1" "
|
3
|
+
.TH "BUNDLE\-SHOW" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-UPDATE" "1" "
|
3
|
+
.TH "BUNDLE\-UPDATE" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-update\fR \- Update your gems to the latest available versions
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "BUNDLE\-VIZ" "1" "
|
3
|
+
.TH "BUNDLE\-VIZ" "1" "August 2025" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
|
6
6
|
.SH "SYNOPSIS"
|
data/lib/bundler/man/bundle.1
CHANGED
data/lib/bundler/man/gemfile.5
CHANGED
@@ -21,6 +21,7 @@ module Bundler
|
|
21
21
|
@locked_version = locked_specs.version_for(name)
|
22
22
|
@unlock = unlock
|
23
23
|
@dependency = dependency || Dependency.new(name, @locked_version)
|
24
|
+
@platforms |= [Gem::Platform::RUBY] if @dependency.default_force_ruby_platform
|
24
25
|
@top_level = !dependency.nil?
|
25
26
|
@prerelease = @dependency.prerelease? || @locked_version&.prerelease? || prerelease ? :consider_first : :ignore
|
26
27
|
@prefer_local = prefer_local
|
data/lib/bundler/settings.rb
CHANGED
data/lib/bundler/source/path.rb
CHANGED
@@ -22,9 +22,9 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
23
23
|
spec.metadata["homepage_uri"] = spec.homepage
|
24
24
|
spec.metadata["source_code_uri"] = "<%= config[:source_code_uri] %>"
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
<%- if config[:changelog] -%>
|
26
|
+
spec.metadata["changelog_uri"] = "<%= config[:changelog_uri] %>"
|
27
|
+
<%- end -%>
|
28
28
|
|
29
29
|
# Specify which files should be added to the gem when it is released.
|
30
30
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|