bundler 1.17.0.pre.2 → 2.1.0.pre.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 +4 -4
- data/CHANGELOG.md +769 -570
- data/LICENSE.md +18 -19
- data/README.md +9 -8
- data/bundler.gemspec +12 -23
- data/exe/bundle +19 -3
- data/lib/bundler.rb +121 -68
- data/lib/bundler/build_metadata.rb +14 -7
- data/lib/bundler/capistrano.rb +4 -4
- data/lib/bundler/cli.rb +129 -121
- data/lib/bundler/cli/add.rb +27 -16
- data/lib/bundler/cli/common.rb +11 -12
- data/lib/bundler/cli/config.rb +161 -86
- data/lib/bundler/cli/console.rb +1 -1
- data/lib/bundler/cli/doctor.rb +4 -4
- data/lib/bundler/cli/exec.rb +4 -9
- data/lib/bundler/cli/gem.rb +5 -5
- data/lib/bundler/cli/info.rb +17 -5
- data/lib/bundler/cli/init.rb +1 -1
- data/lib/bundler/cli/install.rb +11 -10
- data/lib/bundler/cli/issue.rb +3 -3
- data/lib/bundler/cli/open.rb +10 -6
- data/lib/bundler/cli/outdated.rb +85 -81
- data/lib/bundler/cli/package.rb +8 -9
- data/lib/bundler/cli/plugin.rb +9 -2
- data/lib/bundler/cli/pristine.rb +1 -1
- data/lib/bundler/cli/show.rb +1 -1
- data/lib/bundler/cli/update.rb +31 -11
- data/lib/bundler/compact_index_client.rb +25 -9
- data/lib/bundler/compact_index_client/updater.rb +2 -6
- data/lib/bundler/current_ruby.rb +9 -7
- data/lib/bundler/definition.rb +35 -26
- data/lib/bundler/dependency.rb +16 -4
- data/lib/bundler/deployment.rb +1 -1
- data/lib/bundler/dsl.rb +15 -39
- data/lib/bundler/env.rb +8 -13
- data/lib/bundler/environment_preserver.rb +0 -1
- data/lib/bundler/feature_flag.rb +23 -32
- data/lib/bundler/fetcher.rb +14 -11
- data/lib/bundler/fetcher/compact_index.rb +26 -12
- data/lib/bundler/fetcher/dependency.rb +1 -1
- data/lib/bundler/fetcher/downloader.rb +4 -1
- data/lib/bundler/fetcher/index.rb +4 -2
- data/lib/bundler/friendly_errors.rb +4 -5
- data/lib/bundler/gem_helper.rb +39 -24
- data/lib/bundler/gem_helpers.rb +2 -4
- data/lib/bundler/gem_tasks.rb +1 -1
- data/lib/bundler/gem_version_promoter.rb +3 -3
- data/lib/bundler/graph.rb +2 -2
- data/lib/bundler/injector.rb +10 -8
- data/lib/bundler/inline.rb +19 -18
- data/lib/bundler/installer.rb +7 -14
- data/lib/bundler/installer/gem_installer.rb +5 -1
- data/lib/bundler/installer/parallel_installer.rb +4 -8
- data/lib/bundler/installer/standalone.rb +1 -2
- data/lib/bundler/lazy_specification.rb +2 -2
- data/lib/bundler/lockfile_parser.rb +13 -21
- data/lib/bundler/match_platform.rb +1 -1
- data/lib/bundler/plugin.rb +42 -29
- data/lib/bundler/plugin/api.rb +1 -1
- data/lib/bundler/plugin/api/source.rb +2 -2
- data/lib/bundler/plugin/index.rb +14 -3
- data/lib/bundler/plugin/installer.rb +28 -15
- data/lib/bundler/psyched_yaml.rb +1 -1
- data/lib/bundler/resolver.rb +72 -24
- data/lib/bundler/resolver/spec_group.rb +3 -2
- data/lib/bundler/retry.rb +2 -2
- data/lib/bundler/ruby_version.rb +4 -19
- data/lib/bundler/rubygems_ext.rb +10 -66
- data/lib/bundler/rubygems_gem_installer.rb +1 -1
- data/lib/bundler/rubygems_integration.rb +144 -395
- data/lib/bundler/runtime.rb +2 -9
- data/lib/bundler/settings.rb +15 -47
- data/lib/bundler/setup.rb +6 -5
- data/lib/bundler/shared_helpers.rb +64 -67
- data/lib/bundler/similarity_detector.rb +2 -2
- data/lib/bundler/source.rb +5 -5
- data/lib/bundler/source/git.rb +19 -12
- data/lib/bundler/source/git/git_proxy.rb +35 -39
- data/lib/bundler/source/metadata.rb +9 -5
- data/lib/bundler/source/path.rb +13 -8
- data/lib/bundler/source/rubygems.rb +11 -5
- data/lib/bundler/source/rubygems/remote.rb +1 -2
- data/lib/bundler/source_list.rb +9 -12
- data/lib/bundler/spec_set.rb +23 -12
- data/lib/bundler/stub_specification.rb +18 -30
- data/lib/bundler/templates/Executable.bundler +23 -14
- data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +3 -3
- data/lib/bundler/templates/newgem/Gemfile.tt +8 -2
- data/lib/bundler/templates/newgem/README.md.tt +4 -3
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +6 -27
- data/lib/bundler/templates/newgem/test/test_helper.rb.tt +1 -1
- data/lib/bundler/templates/newgem/travis.yml.tt +0 -1
- data/lib/bundler/ui.rb +3 -3
- data/lib/bundler/ui/rg_proxy.rb +1 -1
- data/lib/bundler/ui/shell.rb +4 -8
- data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +161 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +66 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +176 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
- data/lib/bundler/vendor/fileutils/lib/fileutils.rb +151 -48
- data/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +5 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo.rb +6 -6
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +6 -6
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +30 -8
- data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +4 -4
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +2 -2
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +248 -279
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +40 -0
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +53 -0
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- data/lib/bundler/vendor/thor/lib/thor.rb +7 -2
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +21 -11
- data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +11 -2
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/base.rb +16 -17
- data/lib/bundler/vendor/thor/lib/thor/error.rb +82 -0
- data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +7 -2
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +6 -6
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +52 -7
- data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/vendored_fileutils.rb +1 -6
- data/lib/bundler/vendored_molinillo.rb +1 -1
- data/lib/bundler/vendored_persistent.rb +7 -5
- data/lib/bundler/vendored_thor.rb +2 -2
- data/lib/bundler/version.rb +1 -20
- data/lib/bundler/version_ranges.rb +51 -5
- data/lib/bundler/vlad.rb +2 -2
- data/lib/bundler/worker.rb +1 -3
- data/lib/bundler/yaml_serializer.rb +2 -3
- data/man/bundle-add.1 +10 -2
- data/man/bundle-add.1.txt +11 -5
- data/man/bundle-add.ronn +7 -1
- data/man/bundle-binstubs.1 +2 -2
- data/man/bundle-binstubs.1.txt +2 -2
- data/man/bundle-binstubs.ronn +1 -1
- data/man/bundle-check.1 +1 -1
- data/man/bundle-check.1.txt +6 -6
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +1 -1
- data/man/bundle-config.1 +52 -36
- data/man/bundle-config.1.txt +82 -67
- data/man/bundle-config.ronn +56 -40
- data/man/bundle-doctor.1 +1 -1
- data/man/bundle-doctor.1.txt +1 -1
- data/man/bundle-exec.1 +2 -2
- data/man/bundle-exec.1.txt +2 -2
- data/man/bundle-exec.ronn +1 -1
- data/man/bundle-gem.1 +1 -1
- data/man/bundle-gem.1.txt +3 -3
- data/man/bundle-info.1 +1 -1
- data/man/bundle-info.1.txt +1 -1
- data/man/bundle-init.1 +2 -2
- data/man/bundle-init.1.txt +2 -2
- data/man/bundle-init.ronn +1 -1
- data/man/bundle-inject.1 +1 -1
- data/man/bundle-inject.1.txt +1 -1
- data/man/bundle-install.1 +8 -5
- data/man/bundle-install.1.txt +56 -51
- data/man/bundle-install.ronn +9 -4
- data/man/bundle-list.1 +1 -1
- data/man/bundle-list.1.txt +1 -1
- data/man/bundle-lock.1 +1 -1
- data/man/bundle-lock.1.txt +16 -16
- data/man/bundle-open.1 +1 -1
- data/man/bundle-open.1.txt +1 -1
- data/man/bundle-outdated.1 +1 -1
- data/man/bundle-outdated.1.txt +1 -1
- data/man/bundle-package.1 +1 -1
- data/man/bundle-package.1.txt +1 -1
- data/man/bundle-platform.1 +1 -1
- data/man/bundle-platform.1.txt +1 -1
- data/man/bundle-pristine.1 +1 -1
- data/man/bundle-pristine.1.txt +1 -1
- data/man/bundle-remove.1 +1 -1
- data/man/bundle-remove.1.txt +1 -1
- data/man/bundle-show.1 +1 -1
- data/man/bundle-show.1.txt +1 -1
- data/man/bundle-update.1 +4 -4
- data/man/bundle-update.1.txt +64 -65
- data/man/bundle-update.ronn +3 -3
- data/man/bundle-viz.1 +1 -1
- data/man/bundle-viz.1.txt +1 -1
- data/man/bundle.1 +7 -3
- data/man/bundle.1.txt +11 -8
- data/man/bundle.ronn +5 -2
- data/man/gemfile.5 +17 -20
- data/man/gemfile.5.ronn +14 -18
- data/man/gemfile.5.txt +108 -112
- metadata +17 -104
- data/exe/bundle_ruby +0 -60
- data/lib/bundler/cli/cache.rb +0 -36
- data/lib/bundler/compatibility_guard.rb +0 -14
- data/lib/bundler/ssl_certs/.document +0 -1
- data/lib/bundler/ssl_certs/certificate_manager.rb +0 -66
- data/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +0 -21
- data/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
- data/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +0 -27
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +0 -129
data/man/bundle-doctor.1
CHANGED
data/man/bundle-doctor.1.txt
CHANGED
data/man/bundle-exec.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-EXEC" "1" "
|
4
|
+
.TH "BUNDLE\-EXEC" "1" "September 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
@@ -155,7 +155,7 @@ You can find a list of all the gems containing gem plugins by running
|
|
155
155
|
.
|
156
156
|
.nf
|
157
157
|
|
158
|
-
ruby \-
|
158
|
+
ruby \-rrubygems \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
|
159
159
|
.
|
160
160
|
.fi
|
161
161
|
.
|
data/man/bundle-exec.1.txt
CHANGED
@@ -165,7 +165,7 @@ RUBYGEMS PLUGINS
|
|
165
165
|
|
166
166
|
|
167
167
|
|
168
|
-
ruby -
|
168
|
+
ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
|
169
169
|
|
170
170
|
|
171
171
|
|
@@ -175,4 +175,4 @@ RUBYGEMS PLUGINS
|
|
175
175
|
|
176
176
|
|
177
177
|
|
178
|
-
|
178
|
+
September 2019 BUNDLE-EXEC(1)
|
data/man/bundle-exec.ronn
CHANGED
@@ -145,7 +145,7 @@ their plugins.
|
|
145
145
|
You can find a list of all the gems containing gem plugins
|
146
146
|
by running
|
147
147
|
|
148
|
-
ruby -
|
148
|
+
ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
|
149
149
|
|
150
150
|
At the very least, you should remove all but the newest
|
151
151
|
version of each gem plugin, and also remove all gem plugins
|
data/man/bundle-gem.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\-GEM" "1" "
|
4
|
+
.TH "BUNDLE\-GEM" "1" "September 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
|
data/man/bundle-gem.1.txt
CHANGED
@@ -77,8 +77,8 @@ OPTIONS
|
|
77
77
|
|
78
78
|
-e, --edit[=EDITOR]
|
79
79
|
Open the resulting GEM_NAME.gemspec in EDITOR, or the default
|
80
|
-
editor
|
81
|
-
|
80
|
+
editor if not specified. The default is $BUNDLER_EDITOR, $VIS-
|
81
|
+
UAL, or $EDITOR.
|
82
82
|
|
83
83
|
SEE ALSO
|
84
84
|
o bundle config(1) bundle-config.1.html
|
@@ -88,4 +88,4 @@ SEE ALSO
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
-
|
91
|
+
September 2019 BUNDLE-GEM(1)
|
data/man/bundle-info.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\-INFO" "1" "
|
4
|
+
.TH "BUNDLE\-INFO" "1" "September 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-info\fR \- Show information for the given gem in your bundle
|
data/man/bundle-info.1.txt
CHANGED
data/man/bundle-init.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\-INIT" "1" "
|
4
|
+
.TH "BUNDLE\-INIT" "1" "September 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory
|
@@ -22,4 +22,4 @@ Use the specified \.gemspec to create the [\fBGemfile(5)\fR][Gemfile(5)]
|
|
22
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
23
|
.
|
24
24
|
.SH "SEE ALSO"
|
25
|
-
Gemfile(5) \
|
25
|
+
Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR
|
data/man/bundle-init.1.txt
CHANGED
data/man/bundle-init.ronn
CHANGED
data/man/bundle-inject.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\-INJECT" "1" "
|
4
|
+
.TH "BUNDLE\-INJECT" "1" "September 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
data/man/bundle-inject.1.txt
CHANGED
data/man/bundle-install.1
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-INSTALL" "1" "
|
4
|
+
.TH "BUNDLE\-INSTALL" "1" "September 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
8
8
|
.
|
9
9
|
.SH "SYNOPSIS"
|
10
|
-
\fBbundle install\fR [\-\-binstubs[=DIRECTORY]] [\-\-clean] [\-\-deployment] [\-\-
|
10
|
+
\fBbundle install\fR [\-\-binstubs[=DIRECTORY]] [\-\-clean] [\-\-deployment] [\-\-frozen] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-no\-cache] [\-\-no\-prune] [\-\-path PATH] [\-\-quiet] [\-\-redownload] [\-\-retry=NUMBER] [\-\-shebang] [\-\-standalone[=GROUP[ GROUP\.\.\.]]] [\-\-system] [\-\-trust\-policy=POLICY] [\-\-with=GROUP[ GROUP\.\.\.]] [\-\-without=GROUP[ GROUP\.\.\.]]
|
11
11
|
.
|
12
12
|
.SH "DESCRIPTION"
|
13
13
|
Install the gems specified in your Gemfile(5)\. If this is the first time you run bundle install (and a \fBGemfile\.lock\fR does not exist), Bundler will fetch all remote sources, resolve dependencies and install all needed gems\.
|
@@ -23,7 +23,10 @@ To apply any of \fB\-\-binstubs\fR, \fB\-\-deployment\fR, \fB\-\-path\fR, or \fB
|
|
23
23
|
.
|
24
24
|
.TP
|
25
25
|
\fB\-\-binstubs[=<directory>]\fR
|
26
|
-
|
26
|
+
Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it in \fBbin/\fR\. This lets you link the binstub inside of an application to the exact gem version the application needs\.
|
27
|
+
.
|
28
|
+
.IP
|
29
|
+
Creates a directory (defaults to \fB~/bin\fR) and places any executables from the gem there\. These executables run in Bundler\'s context\. If used, you might add this directory to your environment\'s \fBPATH\fR variable\. For instance, if the \fBrails\fR gem comes with a \fBrails\fR executable, this flag will create a \fBbin/rails\fR executable that ensures that all referred dependencies will be resolved using the bundled gems\.
|
27
30
|
.
|
28
31
|
.TP
|
29
32
|
\fB\-\-clean\fR
|
@@ -34,8 +37,8 @@ On finishing the installation Bundler is going to remove any gems not present in
|
|
34
37
|
In \fIdeployment mode\fR, Bundler will \'roll\-out\' the bundle for production or CI use\. Please check carefully if you want to have this option enabled in your development environment\.
|
35
38
|
.
|
36
39
|
.TP
|
37
|
-
\fB\-\-
|
38
|
-
Force download every gem, even if the required versions are already available locally\.
|
40
|
+
\fB\-\-redownload\fR
|
41
|
+
Force download every gem, even if the required versions are already available locally\.
|
39
42
|
.
|
40
43
|
.TP
|
41
44
|
\fB\-\-frozen\fR
|
data/man/bundle-install.1.txt
CHANGED
@@ -7,8 +7,8 @@ NAME
|
|
7
7
|
|
8
8
|
SYNOPSIS
|
9
9
|
bundle install [--binstubs[=DIRECTORY]] [--clean] [--deployment]
|
10
|
-
[--
|
11
|
-
[--
|
10
|
+
[--frozen] [--full-index] [--gemfile=GEMFILE] [--jobs=NUMBER] [--local]
|
11
|
+
[--no-cache] [--no-prune] [--path PATH] [--quiet] [--redownload]
|
12
12
|
[--retry=NUMBER] [--shebang] [--standalone[=GROUP[ GROUP...]]] [--sys-
|
13
13
|
tem] [--trust-policy=POLICY] [--with=GROUP[ GROUP...]] [--with-
|
14
14
|
out=GROUP[ GROUP...]]
|
@@ -34,7 +34,13 @@ OPTIONS
|
|
34
34
|
time bundle install is run, use bundle config (see bundle-config(1)).
|
35
35
|
|
36
36
|
--binstubs[=<directory>]
|
37
|
-
|
37
|
+
Binstubs are scripts that wrap around executables. Bundler cre-
|
38
|
+
ates a small Ruby file (a binstub) that loads Bundler, runs the
|
39
|
+
command, and puts it in bin/. This lets you link the binstub
|
40
|
+
inside of an application to the exact gem version the applica-
|
41
|
+
tion needs.
|
42
|
+
|
43
|
+
Creates a directory (defaults to ~/bin) and places any executa-
|
38
44
|
bles from the gem there. These executables run in Bundler's con-
|
39
45
|
text. If used, you might add this directory to your environ-
|
40
46
|
ment's PATH variable. For instance, if the rails gem comes with
|
@@ -52,58 +58,57 @@ OPTIONS
|
|
52
58
|
duction or CI use. Please check carefully if you want to have
|
53
59
|
this option enabled in your development environment.
|
54
60
|
|
55
|
-
--
|
61
|
+
--redownload
|
56
62
|
Force download every gem, even if the required versions are
|
57
|
-
already
|
58
|
-
option.
|
63
|
+
already available locally.
|
59
64
|
|
60
65
|
--frozen
|
61
|
-
Do
|
62
|
-
Exits
|
66
|
+
Do not allow the Gemfile.lock to be updated after this install.
|
67
|
+
Exits non-zero if there are going to be changes to the Gem-
|
63
68
|
file.lock.
|
64
69
|
|
65
70
|
--full-index
|
66
71
|
Bundler will not call Rubygems' API endpoint (default) but down-
|
67
72
|
load and cache a (currently big) index file of all gems. Perfor-
|
68
|
-
mance
|
73
|
+
mance can be improved for large bundles that seldom change by
|
69
74
|
enabling this option.
|
70
75
|
|
71
76
|
--gemfile=<gemfile>
|
72
|
-
The
|
73
|
-
defaults
|
77
|
+
The location of the Gemfile(5) which Bundler should use. This
|
78
|
+
defaults to a Gemfile(5) in the current working directory. In
|
74
79
|
general, Bundler will assume that the location of the Gemfile(5)
|
75
80
|
is also the project's root and will try to find Gemfile.lock and
|
76
81
|
vendor/cache relative to this location.
|
77
82
|
|
78
83
|
--jobs=[<number>], -j[<number>]
|
79
|
-
The
|
84
|
+
The maximum number of parallel download and install jobs. The
|
80
85
|
default is 1.
|
81
86
|
|
82
87
|
--local
|
83
88
|
Do not attempt to connect to rubygems.org. Instead, Bundler will
|
84
|
-
use
|
85
|
-
dor/cache.
|
89
|
+
use the gems already present in Rubygems' cache or in ven-
|
90
|
+
dor/cache. Note that if a appropriate platform-specific gem
|
86
91
|
exists on rubygems.org it will not be found.
|
87
92
|
|
88
93
|
--no-cache
|
89
|
-
Do
|
90
|
-
gems.
|
94
|
+
Do not update the cache in vendor/cache with the newly bundled
|
95
|
+
gems. This does not remove any gems in the cache but keeps the
|
91
96
|
newly bundled gems from being cached during the install.
|
92
97
|
|
93
98
|
--no-prune
|
94
|
-
Don't
|
99
|
+
Don't remove stale gems from the cache when the installation
|
95
100
|
finishes.
|
96
101
|
|
97
102
|
--path=<path>
|
98
|
-
The
|
99
|
-
Rubygems'
|
100
|
-
gem
|
101
|
-
gems
|
103
|
+
The location to install the specified gems to. This defaults to
|
104
|
+
Rubygems' setting. Bundler shares this location with Rubygems,
|
105
|
+
gem install ... will have gem installed there, too. Therefore,
|
106
|
+
gems installed without a --path ... setting will show up by
|
102
107
|
calling gem list. Accordingly, gems installed to other locations
|
103
108
|
will not get listed.
|
104
109
|
|
105
110
|
--quiet
|
106
|
-
Do
|
111
|
+
Do not print progress information to the standard output.
|
107
112
|
Instead, Bundler will exit using a status code ($?).
|
108
113
|
|
109
114
|
--retry=[<number>]
|
@@ -111,34 +116,34 @@ OPTIONS
|
|
111
116
|
|
112
117
|
--shebang=<ruby-executable>
|
113
118
|
Uses the specified ruby executable (usually ruby) to execute the
|
114
|
-
scripts
|
115
|
-
stubs
|
119
|
+
scripts created with --binstubs. In addition, if you use --bin-
|
120
|
+
stubs together with --shebang jruby these executables will be
|
116
121
|
changed to execute jruby instead.
|
117
122
|
|
118
123
|
--standalone[=<list>]
|
119
|
-
Makes
|
120
|
-
Bundler
|
121
|
-
has
|
124
|
+
Makes a bundle that can work without depending on Rubygems or
|
125
|
+
Bundler at runtime. A space separated list of groups to install
|
126
|
+
has to be specified. Bundler creates a directory named bundle
|
122
127
|
and installs the bundle there. It also generates a bun-
|
123
|
-
dle/bundler/setup.rb
|
124
|
-
manner
|
128
|
+
dle/bundler/setup.rb file to replace Bundler's own setup in the
|
129
|
+
manner required. Using this option implicitly sets path, which
|
125
130
|
is a [remembered option][REMEMBERED OPTIONS].
|
126
131
|
|
127
132
|
--system
|
128
|
-
Installs
|
129
|
-
Rubygems
|
133
|
+
Installs the gems specified in the bundle to the system's
|
134
|
+
Rubygems location. This overrides any previous configuration of
|
130
135
|
--path.
|
131
136
|
|
132
137
|
--trust-policy=[<policy>]
|
133
|
-
Apply
|
134
|
-
of
|
138
|
+
Apply the Rubygems security policy policy, where policy is one
|
139
|
+
of HighSecurity, MediumSecurity, LowSecurity, AlmostNoSecurity,
|
135
140
|
or NoSecurity. For more details, please see the Rubygems signing
|
136
141
|
documentation linked below in SEE ALSO.
|
137
142
|
|
138
143
|
--with=<list>
|
139
144
|
A space-separated list of groups referencing gems to install. If
|
140
|
-
an
|
141
|
-
that
|
145
|
+
an optional group is given it is installed. If a group is given
|
146
|
+
that is in the remembered list of groups given to --without, it
|
142
147
|
is removed from that list.
|
143
148
|
|
144
149
|
--without=<list>
|
@@ -148,47 +153,47 @@ OPTIONS
|
|
148
153
|
|
149
154
|
DEPLOYMENT MODE
|
150
155
|
Bundler's defaults are optimized for development. To switch to defaults
|
151
|
-
optimized
|
152
|
-
activate
|
156
|
+
optimized for deployment and for CI, use the --deployment flag. Do not
|
157
|
+
activate deployment mode on development machines, as it will cause an
|
153
158
|
error when the Gemfile(5) is modified.
|
154
159
|
|
155
160
|
1. A Gemfile.lock is required.
|
156
161
|
|
157
162
|
To ensure that the same versions of the gems you developed with and
|
158
|
-
tested
|
163
|
+
tested with are also used in deployments, a Gemfile.lock is
|
159
164
|
required.
|
160
165
|
|
161
|
-
This
|
166
|
+
This is mainly to ensure that you remember to check your Gem-
|
162
167
|
file.lock into version control.
|
163
168
|
|
164
169
|
2. The Gemfile.lock must be up to date
|
165
170
|
|
166
|
-
In
|
171
|
+
In development, you can modify your Gemfile(5) and re-run bundle
|
167
172
|
install to conservatively update your Gemfile.lock snapshot.
|
168
173
|
|
169
|
-
In
|
174
|
+
In deployment, your Gemfile.lock should be up-to-date with changes
|
170
175
|
made in your Gemfile(5).
|
171
176
|
|
172
|
-
3. Gems
|
177
|
+
3. Gems are installed to vendor/bundle not your default system loca-
|
173
178
|
tion
|
174
179
|
|
175
|
-
In
|
176
|
-
application
|
180
|
+
In development, it's convenient to share the gems used in your
|
181
|
+
application with other applications and other scripts that run on
|
177
182
|
the system.
|
178
183
|
|
179
|
-
In
|
180
|
-
the
|
181
|
-
install
|
184
|
+
In deployment, isolation is a more important default. In addition,
|
185
|
+
the user deploying the application may not have permission to
|
186
|
+
install gems to the system, or the web server may not have permis-
|
182
187
|
sion to read them.
|
183
188
|
|
184
|
-
As
|
185
|
-
dor/bundle
|
189
|
+
As a result, bundle install --deployment installs gems to the ven-
|
190
|
+
dor/bundle directory in the application. This may be overridden
|
186
191
|
using the --path option.
|
187
192
|
|
188
193
|
|
189
194
|
|
190
195
|
SUDO USAGE
|
191
|
-
By
|
196
|
+
By default, Bundler installs gems to the same location as gem install.
|
192
197
|
|
193
198
|
In some cases, that location may not be writable by your Unix user. In
|
194
199
|
that case, Bundler will stage everything in a temporary directory, then
|
@@ -393,4 +398,4 @@ SEE ALSO
|
|
393
398
|
|
394
399
|
|
395
400
|
|
396
|
-
|
401
|
+
September 2019 BUNDLE-INSTALL(1)
|
data/man/bundle-install.ronn
CHANGED
@@ -6,7 +6,6 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
|
|
6
6
|
`bundle install` [--binstubs[=DIRECTORY]]
|
7
7
|
[--clean]
|
8
8
|
[--deployment]
|
9
|
-
[--force]
|
10
9
|
[--frozen]
|
11
10
|
[--full-index]
|
12
11
|
[--gemfile=GEMFILE]
|
@@ -16,6 +15,7 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
|
|
16
15
|
[--no-prune]
|
17
16
|
[--path PATH]
|
18
17
|
[--quiet]
|
18
|
+
[--redownload]
|
19
19
|
[--retry=NUMBER]
|
20
20
|
[--shebang]
|
21
21
|
[--standalone[=GROUP[ GROUP...]]]
|
@@ -47,7 +47,12 @@ To apply any of `--binstubs`, `--deployment`, `--path`, or `--without` every
|
|
47
47
|
time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
48
48
|
|
49
49
|
* `--binstubs[=<directory>]`:
|
50
|
-
|
50
|
+
Binstubs are scripts that wrap around executables. Bundler creates a small Ruby
|
51
|
+
file (a binstub) that loads Bundler, runs the command, and puts it in `bin/`.
|
52
|
+
This lets you link the binstub inside of an application to the exact gem
|
53
|
+
version the application needs.
|
54
|
+
|
55
|
+
Creates a directory (defaults to `~/bin`) and places any executables from the
|
51
56
|
gem there. These executables run in Bundler's context. If used, you might add
|
52
57
|
this directory to your environment's `PATH` variable. For instance, if the
|
53
58
|
`rails` gem comes with a `rails` executable, this flag will create a
|
@@ -64,9 +69,9 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
|
64
69
|
production or CI use. Please check carefully if you want to have this option
|
65
70
|
enabled in your development environment.
|
66
71
|
|
67
|
-
* `--
|
72
|
+
* `--redownload`:
|
68
73
|
Force download every gem, even if the required versions are already available
|
69
|
-
locally.
|
74
|
+
locally.
|
70
75
|
|
71
76
|
* `--frozen`:
|
72
77
|
Do not allow the Gemfile.lock to be updated after this install. Exits
|