bundler 2.0.1 → 2.1.4
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 +788 -572
- data/LICENSE.md +18 -19
- data/README.md +9 -8
- data/bundler.gemspec +8 -25
- data/exe/bundle +19 -3
- data/lib/bundler.rb +202 -87
- data/lib/bundler/build_metadata.rb +3 -3
- data/lib/bundler/capistrano.rb +5 -5
- data/lib/bundler/cli.rb +182 -144
- data/lib/bundler/cli/add.rb +28 -16
- data/lib/bundler/cli/cache.rb +25 -13
- data/lib/bundler/cli/common.rb +11 -12
- data/lib/bundler/cli/config.rb +161 -86
- data/lib/bundler/cli/console.rb +2 -2
- data/lib/bundler/cli/doctor.rb +4 -4
- data/lib/bundler/cli/exec.rb +4 -16
- 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 +15 -13
- 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/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 +8 -7
- data/lib/bundler/definition.rb +36 -27
- data/lib/bundler/dependency.rb +16 -4
- data/lib/bundler/deployment.rb +2 -2
- data/lib/bundler/dsl.rb +19 -43
- data/lib/bundler/env.rb +8 -13
- data/lib/bundler/environment_preserver.rb +0 -1
- data/lib/bundler/feature_flag.rb +2 -14
- data/lib/bundler/fetcher.rb +16 -13
- data/lib/bundler/fetcher/compact_index.rb +26 -12
- data/lib/bundler/fetcher/dependency.rb +1 -1
- data/lib/bundler/fetcher/downloader.rb +5 -2
- data/lib/bundler/fetcher/index.rb +5 -3
- data/lib/bundler/friendly_errors.rb +6 -7
- data/lib/bundler/gem_helper.rb +39 -25
- 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 +40 -30
- 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 -3
- data/lib/bundler/lockfile_parser.rb +14 -21
- data/lib/bundler/match_platform.rb +1 -1
- data/lib/bundler/mirror.rb +3 -3
- data/lib/bundler/plugin.rb +42 -29
- data/lib/bundler/plugin/api.rb +1 -1
- data/lib/bundler/plugin/api/source.rb +4 -6
- 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/remote_specification.rb +0 -2
- 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 +11 -67
- data/lib/bundler/rubygems_gem_installer.rb +1 -1
- data/lib/bundler/rubygems_integration.rb +149 -399
- data/lib/bundler/runtime.rb +2 -9
- data/lib/bundler/settings.rb +22 -52
- data/lib/bundler/setup.rb +11 -12
- data/lib/bundler/shared_helpers.rb +51 -77
- data/lib/bundler/similarity_detector.rb +2 -2
- data/lib/bundler/source.rb +5 -5
- data/lib/bundler/source/git.rb +24 -17
- data/lib/bundler/source/git/git_proxy.rb +38 -41
- data/lib/bundler/source/metadata.rb +7 -2
- data/lib/bundler/source/path.rb +13 -8
- data/lib/bundler/source/rubygems.rb +14 -8
- data/lib/bundler/source/rubygems/remote.rb +2 -3
- data/lib/bundler/source_list.rb +9 -12
- data/lib/bundler/spec_set.rb +1 -6
- 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 -0
- 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/uri_credentials_filter.rb +7 -3
- 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 +273 -147
- 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 +270 -323
- 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 +19 -4
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +27 -12
- 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 +7 -17
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +16 -7
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +19 -8
- data/lib/bundler/vendor/thor/lib/thor/base.rb +54 -43
- data/lib/bundler/vendor/thor/lib/thor/command.rb +21 -14
- data/lib/bundler/vendor/thor/lib/thor/error.rb +78 -0
- data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/invocation.rb +1 -0
- data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +6 -6
- data/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +20 -7
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +20 -5
- data/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +1 -0
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +15 -14
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +62 -8
- data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +6 -2
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/util.rb +18 -2
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/vendor/uri/lib/uri.rb +104 -0
- data/lib/bundler/vendor/uri/lib/uri/common.rb +744 -0
- data/lib/bundler/vendor/uri/lib/uri/file.rb +94 -0
- data/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- data/lib/bundler/vendor/uri/lib/uri/generic.rb +1568 -0
- data/lib/bundler/vendor/uri/lib/uri/http.rb +88 -0
- data/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
- data/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- data/lib/bundler/vendor/uri/lib/uri/ldaps.rb +21 -0
- data/lib/bundler/vendor/uri/lib/uri/mailto.rb +294 -0
- data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +125 -0
- data/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
- 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/vendored_uri.rb +4 -0
- data/lib/bundler/version.rb +1 -20
- data/lib/bundler/version_ranges.rb +51 -5
- data/lib/bundler/vlad.rb +3 -3
- 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-cache.1 +55 -0
- data/man/bundle-cache.1.txt +78 -0
- data/man/{bundle-package.ronn → bundle-cache.ronn} +15 -15
- 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 +36 -36
- data/man/bundle-config.1.txt +66 -67
- data/man/bundle-config.ronn +42 -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-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 +3 -3
- data/man/bundle.1.txt +8 -8
- data/man/bundle.ronn +2 -2
- data/man/gemfile.5 +13 -16
- data/man/gemfile.5.ronn +10 -14
- data/man/gemfile.5.txt +104 -108
- data/man/index.txt +1 -1
- metadata +33 -108
- data/exe/bundle_ruby +0 -60
- data/lib/bundler/cli/package.rb +0 -49
- data/lib/bundler/compatibility_guard.rb +0 -14
- data/lib/bundler/gem_remote_fetcher.rb +0 -43
- 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/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +0 -12
- data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +0 -129
- data/man/bundle-package.1 +0 -55
- data/man/bundle-package.1.txt +0 -79
data/man/bundle-add.ronn
CHANGED
@@ -3,7 +3,7 @@ bundle-add(1) -- Add gem to the Gemfile and run bundle install
|
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--skip-install] [--strict] [--optimistic]
|
6
|
+
`bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--git=GIT] [--branch=BRANCH] [--skip-install] [--strict] [--optimistic]
|
7
7
|
|
8
8
|
## DESCRIPTION
|
9
9
|
Adds the named gem to the Gemfile and run `bundle install`. `bundle install` can be avoided by using the flag `--skip-install`.
|
@@ -30,6 +30,12 @@ bundle add rails --group "development, test"
|
|
30
30
|
* `--source`, , `-s`:
|
31
31
|
Specify the source for the added gem.
|
32
32
|
|
33
|
+
* `--git`:
|
34
|
+
Specify the git source for the added gem.
|
35
|
+
|
36
|
+
* `--branch`:
|
37
|
+
Specify the git branch for the added gem.
|
38
|
+
|
33
39
|
* `--skip-install`:
|
34
40
|
Adds the gem to the Gemfile but does not install it.
|
35
41
|
|
data/man/bundle-binstubs.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\-BINSTUBS" "1" "
|
4
|
+
.TH "BUNDLE\-BINSTUBS" "1" "January 2020" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
|
@@ -10,7 +10,7 @@
|
|
10
10
|
\fBbundle binstubs\fR \fIGEM_NAME\fR [\-\-force] [\-\-path PATH] [\-\-standalone]
|
11
11
|
.
|
12
12
|
.SH "DESCRIPTION"
|
13
|
-
Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can
|
13
|
+
Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it into \fBbin/\fR\. Binstubs are a shortcut\-or alternative\- to always using \fBbundle exec\fR\. This gives you a file that can be run directly, and one that will always run the correct gem version used by the application\.
|
14
14
|
.
|
15
15
|
.P
|
16
16
|
For example, if you run \fBbundle binstubs rspec\-core\fR, Bundler will create the file \fBbin/rspec\fR\. That file will contain enough code to load Bundler, tell it to load the bundled gems, and then run rspec\.
|
data/man/bundle-binstubs.1.txt
CHANGED
@@ -12,7 +12,7 @@ DESCRIPTION
|
|
12
12
|
Binstubs are scripts that wrap around executables. Bundler creates a
|
13
13
|
small Ruby file (a binstub) that loads Bundler, runs the command, and
|
14
14
|
puts it into bin/. Binstubs are a shortcut-or alternative- to always
|
15
|
-
using bundle exec. This gives you a file that can
|
15
|
+
using bundle exec. This gives you a file that can be run directly, and
|
16
16
|
one that will always run the correct gem version used by the applica-
|
17
17
|
tion.
|
18
18
|
|
@@ -45,4 +45,4 @@ BUNDLE INSTALL --BINSTUBS
|
|
45
45
|
|
46
46
|
|
47
47
|
|
48
|
-
|
48
|
+
January 2020 BUNDLE-BINSTUBS(1)
|
data/man/bundle-binstubs.ronn
CHANGED
@@ -10,7 +10,7 @@ bundle-binstubs(1) -- Install the binstubs of the listed gems
|
|
10
10
|
Binstubs are scripts that wrap around executables. Bundler creates a
|
11
11
|
small Ruby file (a binstub) that loads Bundler, runs the command,
|
12
12
|
and puts it into `bin/`. Binstubs are a shortcut-or alternative-
|
13
|
-
to always using `bundle exec`. This gives you a file that can
|
13
|
+
to always using `bundle exec`. This gives you a file that can be run
|
14
14
|
directly, and one that will always run the correct gem version
|
15
15
|
used by the application.
|
16
16
|
|
data/man/bundle-cache.1
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "BUNDLE\-CACHE" "1" "January 2020" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBbundle cache\fR
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Copy all of the \fB\.gem\fR files needed to run the application into the \fBvendor/cache\fR directory\. In the future, when running [bundle install(1)][bundle\-install], use the gems in the cache in preference to the ones on \fBrubygems\.org\fR\.
|
14
|
+
.
|
15
|
+
.SH "GIT AND PATH GEMS"
|
16
|
+
The \fBbundle cache\fR command can also package \fB:git\fR and \fB:path\fR dependencies besides \.gem files\. This needs to be explicitly enabled via the \fB\-\-all\fR option\. Once used, the \fB\-\-all\fR option will be remembered\.
|
17
|
+
.
|
18
|
+
.SH "SUPPORT FOR MULTIPLE PLATFORMS"
|
19
|
+
When using gems that have different packages for different platforms, Bundler supports caching of gems for other platforms where the Gemfile has been resolved (i\.e\. present in the lockfile) in \fBvendor/cache\fR\. This needs to be enabled via the \fB\-\-all\-platforms\fR option\. This setting will be remembered in your local bundler configuration\.
|
20
|
+
.
|
21
|
+
.SH "REMOTE FETCHING"
|
22
|
+
By default, if you run \fBbundle install(1)\fR](bundle\-install\.1\.html) after running bundle cache(1) \fIbundle\-cache\.1\.html\fR, bundler will still connect to \fBrubygems\.org\fR to check whether a platform\-specific gem exists for any of the gems in \fBvendor/cache\fR\.
|
23
|
+
.
|
24
|
+
.P
|
25
|
+
For instance, consider this Gemfile(5):
|
26
|
+
.
|
27
|
+
.IP "" 4
|
28
|
+
.
|
29
|
+
.nf
|
30
|
+
|
31
|
+
source "https://rubygems\.org"
|
32
|
+
|
33
|
+
gem "nokogiri"
|
34
|
+
.
|
35
|
+
.fi
|
36
|
+
.
|
37
|
+
.IP "" 0
|
38
|
+
.
|
39
|
+
.P
|
40
|
+
If you run \fBbundle cache\fR under C Ruby, bundler will retrieve the version of \fBnokogiri\fR for the \fB"ruby"\fR platform\. If you deploy to JRuby and run \fBbundle install\fR, bundler is forced to check to see whether a \fB"java"\fR platformed \fBnokogiri\fR exists\.
|
41
|
+
.
|
42
|
+
.P
|
43
|
+
Even though the \fBnokogiri\fR gem for the Ruby platform is \fItechnically\fR acceptable on JRuby, it has a C extension that does not run on JRuby\. As a result, bundler will, by default, still connect to \fBrubygems\.org\fR to check whether it has a version of one of your gems more specific to your platform\.
|
44
|
+
.
|
45
|
+
.P
|
46
|
+
This problem is also not limited to the \fB"java"\fR platform\. A similar (common) problem can happen when developing on Windows and deploying to Linux, or even when developing on OSX and deploying to Linux\.
|
47
|
+
.
|
48
|
+
.P
|
49
|
+
If you know for sure that the gems packaged in \fBvendor/cache\fR are appropriate for the platform you are on, you can run \fBbundle install \-\-local\fR to skip checking for more appropriate gems, and use the ones in \fBvendor/cache\fR\.
|
50
|
+
.
|
51
|
+
.P
|
52
|
+
One way to be sure that you have the right platformed versions of all your gems is to run \fBbundle cache\fR on an identical machine and check in the gems\. For instance, you can run \fBbundle cache\fR on an identical staging box during your staging process, and check in the \fBvendor/cache\fR before deploying to production\.
|
53
|
+
.
|
54
|
+
.P
|
55
|
+
By default, bundle cache(1) \fIbundle\-cache\.1\.html\fR fetches and also installs the gems to the default location\. To package the dependencies to \fBvendor/cache\fR without installing them to the local install location, you can run \fBbundle cache \-\-no\-install\fR\.
|
@@ -0,0 +1,78 @@
|
|
1
|
+
BUNDLE-CACHE(1) BUNDLE-CACHE(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
bundle-cache - Package your needed .gem files into your application
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
bundle cache
|
10
|
+
|
11
|
+
DESCRIPTION
|
12
|
+
Copy all of the .gem files needed to run the application into the ven-
|
13
|
+
dor/cache directory. In the future, when running [bundle
|
14
|
+
install(1)][bundle-install], use the gems in the cache in preference to
|
15
|
+
the ones on rubygems.org.
|
16
|
+
|
17
|
+
GIT AND PATH GEMS
|
18
|
+
The bundle cache command can also package :git and :path dependencies
|
19
|
+
besides .gem files. This needs to be explicitly enabled via the --all
|
20
|
+
option. Once used, the --all option will be remembered.
|
21
|
+
|
22
|
+
SUPPORT FOR MULTIPLE PLATFORMS
|
23
|
+
When using gems that have different packages for different platforms,
|
24
|
+
Bundler supports caching of gems for other platforms where the Gemfile
|
25
|
+
has been resolved (i.e. present in the lockfile) in vendor/cache. This
|
26
|
+
needs to be enabled via the --all-platforms option. This setting will
|
27
|
+
be remembered in your local bundler configuration.
|
28
|
+
|
29
|
+
REMOTE FETCHING
|
30
|
+
By default, if you run bundle install(1)](bundle-install.1.html) after
|
31
|
+
running bundle cache(1) bundle-cache.1.html, bundler will still connect
|
32
|
+
to rubygems.org to check whether a platform-specific gem exists for any
|
33
|
+
of the gems in vendor/cache.
|
34
|
+
|
35
|
+
For instance, consider this Gemfile(5):
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
source "https://rubygems.org"
|
40
|
+
|
41
|
+
gem "nokogiri"
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
If you run bundle cache under C Ruby, bundler will retrieve the version
|
46
|
+
of nokogiri for the "ruby" platform. If you deploy to JRuby and run
|
47
|
+
bundle install, bundler is forced to check to see whether a "java"
|
48
|
+
platformed nokogiri exists.
|
49
|
+
|
50
|
+
Even though the nokogiri gem for the Ruby platform is technically
|
51
|
+
acceptable on JRuby, it has a C extension that does not run on JRuby.
|
52
|
+
As a result, bundler will, by default, still connect to rubygems.org to
|
53
|
+
check whether it has a version of one of your gems more specific to
|
54
|
+
your platform.
|
55
|
+
|
56
|
+
This problem is also not limited to the "java" platform. A similar
|
57
|
+
(common) problem can happen when developing on Windows and deploying to
|
58
|
+
Linux, or even when developing on OSX and deploying to Linux.
|
59
|
+
|
60
|
+
If you know for sure that the gems packaged in vendor/cache are appro-
|
61
|
+
priate for the platform you are on, you can run bundle install --local
|
62
|
+
to skip checking for more appropriate gems, and use the ones in ven-
|
63
|
+
dor/cache.
|
64
|
+
|
65
|
+
One way to be sure that you have the right platformed versions of all
|
66
|
+
your gems is to run bundle cache on an identical machine and check in
|
67
|
+
the gems. For instance, you can run bundle cache on an identical stag-
|
68
|
+
ing box during your staging process, and check in the vendor/cache
|
69
|
+
before deploying to production.
|
70
|
+
|
71
|
+
By default, bundle cache(1) bundle-cache.1.html fetches and also
|
72
|
+
installs the gems to the default location. To package the dependencies
|
73
|
+
to vendor/cache without installing them to the local install location,
|
74
|
+
you can run bundle cache --no-install.
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
January 2020 BUNDLE-CACHE(1)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
bundle-
|
1
|
+
bundle-cache(1) -- Package your needed `.gem` files into your application
|
2
2
|
===========================================================================
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`bundle
|
6
|
+
`bundle cache`
|
7
7
|
|
8
8
|
## DESCRIPTION
|
9
9
|
|
@@ -13,22 +13,22 @@ use the gems in the cache in preference to the ones on `rubygems.org`.
|
|
13
13
|
|
14
14
|
## GIT AND PATH GEMS
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
The `bundle cache` command can also package `:git` and `:path` dependencies
|
17
|
+
besides .gem files. This needs to be explicitly enabled via the `--all` option.
|
18
|
+
Once used, the `--all` option will be remembered.
|
19
19
|
|
20
20
|
## SUPPORT FOR MULTIPLE PLATFORMS
|
21
21
|
|
22
22
|
When using gems that have different packages for different platforms, Bundler
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
supports caching of gems for other platforms where the Gemfile has been resolved
|
24
|
+
(i.e. present in the lockfile) in `vendor/cache`. This needs to be enabled via
|
25
|
+
the `--all-platforms` option. This setting will be remembered in your local
|
26
|
+
bundler configuration.
|
27
27
|
|
28
28
|
## REMOTE FETCHING
|
29
29
|
|
30
30
|
By default, if you run `bundle install(1)`](bundle-install.1.html) after running
|
31
|
-
[bundle
|
31
|
+
[bundle cache(1)](bundle-cache.1.html), bundler will still connect to `rubygems.org`
|
32
32
|
to check whether a platform-specific gem exists for any of the gems
|
33
33
|
in `vendor/cache`.
|
34
34
|
|
@@ -38,7 +38,7 @@ For instance, consider this Gemfile(5):
|
|
38
38
|
|
39
39
|
gem "nokogiri"
|
40
40
|
|
41
|
-
If you run `bundle
|
41
|
+
If you run `bundle cache` under C Ruby, bundler will retrieve
|
42
42
|
the version of `nokogiri` for the `"ruby"` platform. If you deploy
|
43
43
|
to JRuby and run `bundle install`, bundler is forced to check to
|
44
44
|
see whether a `"java"` platformed `nokogiri` exists.
|
@@ -60,13 +60,13 @@ are appropriate for the platform you are on, you can run
|
|
60
60
|
gems, and use the ones in `vendor/cache`.
|
61
61
|
|
62
62
|
One way to be sure that you have the right platformed versions
|
63
|
-
of all your gems is to run `bundle
|
63
|
+
of all your gems is to run `bundle cache` on an identical
|
64
64
|
machine and check in the gems. For instance, you can run
|
65
|
-
`bundle
|
65
|
+
`bundle cache` on an identical staging box during your
|
66
66
|
staging process, and check in the `vendor/cache` before
|
67
67
|
deploying to production.
|
68
68
|
|
69
|
-
By default, [bundle
|
69
|
+
By default, [bundle cache(1)](bundle-cache.1.html) fetches and also
|
70
70
|
installs the gems to the default location. To package the
|
71
71
|
dependencies to `vendor/cache` without installing them to the
|
72
|
-
local install location, you can run `bundle
|
72
|
+
local install location, you can run `bundle cache --no-install`.
|
data/man/bundle-check.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\-CHECK" "1" "
|
4
|
+
.TH "BUNDLE\-CHECK" "1" "January 2020" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
data/man/bundle-check.1.txt
CHANGED
@@ -9,8 +9,8 @@ SYNOPSIS
|
|
9
9
|
bundle check [--dry-run] [--gemfile=FILE] [--path=PATH]
|
10
10
|
|
11
11
|
DESCRIPTION
|
12
|
-
check
|
13
|
-
Gemfile.
|
12
|
+
check searches the local machine for each of the gems requested in the
|
13
|
+
Gemfile. If all gems are found, Bundler prints a success message and
|
14
14
|
exits with a status of 0.
|
15
15
|
|
16
16
|
If not, the first missing gem is listed and Bundler exits status 1.
|
@@ -20,14 +20,14 @@ OPTIONS
|
|
20
20
|
Locks the [Gemfile(5)][Gemfile(5)] before running the command.
|
21
21
|
|
22
22
|
--gemfile
|
23
|
-
Use
|
23
|
+
Use the specified gemfile instead of the [Gemfile(5)][Gem-
|
24
24
|
file(5)].
|
25
25
|
|
26
|
-
--path Specify
|
27
|
-
or
|
26
|
+
--path Specify a different path than the system default ($BUNDLE_PATH
|
27
|
+
or $GEM_HOME). Bundler will remember this value for future
|
28
28
|
installs on this machine.
|
29
29
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
|
33
|
+
January 2020 BUNDLE-CHECK(1)
|
data/man/bundle-clean.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\-CLEAN" "1" "
|
4
|
+
.TH "BUNDLE\-CLEAN" "1" "January 2020" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
|
data/man/bundle-clean.1.txt
CHANGED
data/man/bundle-config.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\-CONFIG" "1" "January
|
4
|
+
.TH "BUNDLE\-CONFIG" "1" "January 2020" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-config\fR \- Set bundler configuration options
|
8
8
|
.
|
9
9
|
.SH "SYNOPSIS"
|
10
|
-
\fBbundle config\fR [\fIname\fR [\fIvalue\fR]]
|
10
|
+
\fBbundle config\fR [list|get|set|unset] [\fIname\fR [\fIvalue\fR]]
|
11
11
|
.
|
12
12
|
.SH "DESCRIPTION"
|
13
13
|
This command allows you to interact with Bundler\'s configuration system\.
|
@@ -30,31 +30,40 @@ Bundler default config
|
|
30
30
|
.IP "" 0
|
31
31
|
.
|
32
32
|
.P
|
33
|
-
Executing \fBbundle config\fR with
|
33
|
+
Executing \fBbundle config list\fR with will print a list of all bundler configuration for the current bundle, and where that configuration was set\.
|
34
34
|
.
|
35
35
|
.P
|
36
|
-
Executing \fBbundle config <name>\fR will print the value of that configuration setting, and where it was set\.
|
36
|
+
Executing \fBbundle config get <name>\fR will print the value of that configuration setting, and where it was set\.
|
37
37
|
.
|
38
38
|
.P
|
39
|
-
Executing \fBbundle config <name> <value>\fR will set that configuration to the value specified for all bundles executed as the current user\. The configuration will be stored in \fB~/\.bundle/config\fR\. If \fIname\fR already is set, \fIname\fR will be overridden and user will be warned\.
|
39
|
+
Executing \fBbundle config set <name> <value>\fR will set that configuration to the value specified for all bundles executed as the current user\. The configuration will be stored in \fB~/\.bundle/config\fR\. If \fIname\fR already is set, \fIname\fR will be overridden and user will be warned\.
|
40
40
|
.
|
41
41
|
.P
|
42
|
-
Executing \fBbundle config \-\-global <name> <value>\fR works the same as above\.
|
42
|
+
Executing \fBbundle config set \-\-global <name> <value>\fR works the same as above\.
|
43
43
|
.
|
44
44
|
.P
|
45
|
-
Executing \fBbundle config \-\-local <name> <value>\fR will set that configuration to the local application\. The configuration will be stored in \fBapp/\.bundle/config\fR\.
|
45
|
+
Executing \fBbundle config set \-\-local <name> <value>\fR will set that configuration to the local application\. The configuration will be stored in \fBapp/\.bundle/config\fR\.
|
46
46
|
.
|
47
47
|
.P
|
48
|
-
Executing \fBbundle config
|
48
|
+
Executing \fBbundle config unset <name>\fR will delete the configuration in both local and global sources\.
|
49
|
+
.
|
50
|
+
.P
|
51
|
+
Executing \fBbundle config unset \-\-global <name>\fR will delete the configuration only from the user configuration\.
|
52
|
+
.
|
53
|
+
.P
|
54
|
+
Executing \fBbundle config unset \-\-local <name> <value>\fR will delete the configuration only from the local application\.
|
49
55
|
.
|
50
56
|
.P
|
51
57
|
Executing bundle with the \fBBUNDLE_IGNORE_CONFIG\fR environment variable set will cause it to ignore all configuration\.
|
52
58
|
.
|
53
59
|
.P
|
54
|
-
Executing \fBbundle config disable_multisource true\fR upgrades the warning about the Gemfile containing multiple primary sources to an error\. Executing \fBbundle config
|
60
|
+
Executing \fBbundle config set disable_multisource true\fR upgrades the warning about the Gemfile containing multiple primary sources to an error\. Executing \fBbundle config unset disable_multisource\fR downgrades this error to a warning\.
|
55
61
|
.
|
56
62
|
.SH "REMEMBERING OPTIONS"
|
57
|
-
Flags passed to \fBbundle install\fR or the Bundler runtime, such as \fB\-\-path foo\fR or \fB\-\-without production\fR, are
|
63
|
+
Flags passed to \fBbundle install\fR or the Bundler runtime, such as \fB\-\-path foo\fR or \fB\-\-without production\fR, are remembered between commands and saved to your local application\'s configuration (normally, \fB\./\.bundle/config\fR)\.
|
64
|
+
.
|
65
|
+
.P
|
66
|
+
However, this will be changed in bundler 3, so it\'s better not to rely on this behavior\. If these options must be remembered, it\'s better to set them using \fBbundle config\fR (e\.g\., \fBbundle config set path foo\fR)\.
|
58
67
|
.
|
59
68
|
.P
|
60
69
|
The options that can be configured are:
|
@@ -102,7 +111,7 @@ Since the specific location of that executable can change from machine to machin
|
|
102
111
|
.
|
103
112
|
.nf
|
104
113
|
|
105
|
-
bundle config build\.mysql \-\-with\-mysql\-config=/usr/local/mysql/bin/mysql_config
|
114
|
+
bundle config set build\.mysql \-\-with\-mysql\-config=/usr/local/mysql/bin/mysql_config
|
106
115
|
.
|
107
116
|
.fi
|
108
117
|
.
|
@@ -151,7 +160,7 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
151
160
|
\fBcache_all_platforms\fR (\fBBUNDLE_CACHE_ALL_PLATFORMS\fR): Cache gems for all platforms\.
|
152
161
|
.
|
153
162
|
.IP "\(bu" 4
|
154
|
-
\fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/
|
163
|
+
\fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/cache\fR\.
|
155
164
|
.
|
156
165
|
.IP "\(bu" 4
|
157
166
|
\fBclean\fR (\fBBUNDLE_CLEAN\fR): Whether Bundler should run \fBbundle clean\fR automatically after \fBbundle install\fR\.
|
@@ -175,7 +184,7 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
175
184
|
\fBdisable_local_branch_check\fR (\fBBUNDLE_DISABLE_LOCAL_BRANCH_CHECK\fR): Allow Bundler to use a local git override without a branch specified in the Gemfile\.
|
176
185
|
.
|
177
186
|
.IP "\(bu" 4
|
178
|
-
\fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config
|
187
|
+
\fBdisable_multisource\fR (\fBBUNDLE_DISABLE_MULTISOURCE\fR): When set, Gemfiles containing multiple sources will produce errors instead of warnings\. Use \fBbundle config unset disable_multisource\fR to unset\.
|
179
188
|
.
|
180
189
|
.IP "\(bu" 4
|
181
190
|
\fBdisable_platform_warnings\fR (\fBBUNDLE_DISABLE_PLATFORM_WARNINGS\fR): Disable warnings during bundle install when a dependency is unused on the current platform\.
|
@@ -187,9 +196,6 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
187
196
|
\fBdisable_version_check\fR (\fBBUNDLE_DISABLE_VERSION_CHECK\fR): Stop Bundler from checking if a newer Bundler version is available on rubygems\.org\.
|
188
197
|
.
|
189
198
|
.IP "\(bu" 4
|
190
|
-
\fBerror_on_stderr\fR (\fBBUNDLE_ERROR_ON_STDERR\fR): Print Bundler errors to stderr\.
|
191
|
-
.
|
192
|
-
.IP "\(bu" 4
|
193
199
|
\fBforce_ruby_platform\fR (\fBBUNDLE_FORCE_RUBY_PLATFORM\fR): Ignore the current machine\'s platform and install only \fBruby\fR platform gems\. As a result, gems with native extensions will be compiled from source\.
|
194
200
|
.
|
195
201
|
.IP "\(bu" 4
|
@@ -205,9 +211,6 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
205
211
|
\fBglobal_gem_cache\fR (\fBBUNDLE_GLOBAL_GEM_CACHE\fR): Whether Bundler should cache all gems globally, rather than locally to the installing Ruby installation\.
|
206
212
|
.
|
207
213
|
.IP "\(bu" 4
|
208
|
-
\fBglobal_path_appends_ruby_scope\fR (\fBBUNDLE_GLOBAL_PATH_APPENDS_RUBY_SCOPE\fR): Whether Bundler should append the Ruby scope (e\.g\. engine and ABI version) to a globally\-configured path\.
|
209
|
-
.
|
210
|
-
.IP "\(bu" 4
|
211
214
|
\fBignore_messages\fR (\fBBUNDLE_IGNORE_MESSAGES\fR): When set, no post install messages will be printed\. To silence a single gem, use dot notation like \fBignore_messages\.httparty true\fR\.
|
212
215
|
.
|
213
216
|
.IP "\(bu" 4
|
@@ -217,12 +220,6 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
217
220
|
\fBjobs\fR (\fBBUNDLE_JOBS\fR): The number of gems Bundler can install in parallel\. Defaults to 1\.
|
218
221
|
.
|
219
222
|
.IP "\(bu" 4
|
220
|
-
\fBlist_command\fR (\fBBUNDLE_LIST_COMMAND\fR) Enable new list command feature
|
221
|
-
.
|
222
|
-
.IP "\(bu" 4
|
223
|
-
\fBmajor_deprecations\fR (\fBBUNDLE_MAJOR_DEPRECATIONS\fR): Whether Bundler should print deprecation warnings for behavior that will be changed in the next major version\.
|
224
|
-
.
|
225
|
-
.IP "\(bu" 4
|
226
223
|
\fBno_install\fR (\fBBUNDLE_NO_INSTALL\fR): Whether \fBbundle package\fR should skip installing gems\.
|
227
224
|
.
|
228
225
|
.IP "\(bu" 4
|
@@ -238,13 +235,13 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
238
235
|
\fBpath\.system\fR (\fBBUNDLE_PATH__SYSTEM\fR): Whether Bundler will install gems into the default system path (\fBGem\.dir\fR)\.
|
239
236
|
.
|
240
237
|
.IP "\(bu" 4
|
241
|
-
\fBpath_relative_to_cwd\fR (\
|
238
|
+
\fBpath_relative_to_cwd\fR (\fBBUNDLE_PATH_RELATIVE_TO_CWD\fR) Makes \fB\-\-path\fR relative to the CWD instead of the \fBGemfile\fR\.
|
242
239
|
.
|
243
240
|
.IP "\(bu" 4
|
244
241
|
\fBplugins\fR (\fBBUNDLE_PLUGINS\fR): Enable Bundler\'s experimental plugin system\.
|
245
242
|
.
|
246
243
|
.IP "\(bu" 4
|
247
|
-
\
|
244
|
+
\fBprefer_patch\fR (BUNDLE_PREFER_PATCH): Prefer updating only to next patch version during updates\. Makes \fBbundle update\fR calls equivalent to \fBbundler update \-\-patch\fR\.
|
248
245
|
.
|
249
246
|
.IP "\(bu" 4
|
250
247
|
\fBprint_only_version_number\fR (\fBBUNDLE_PRINT_ONLY_VERSION_NUMBER\fR) Print only version number from \fBbundler \-\-version\fR\.
|
@@ -262,6 +259,9 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
262
259
|
\fBshebang\fR (\fBBUNDLE_SHEBANG\fR): The program name that should be invoked for generated binstubs\. Defaults to the ruby install name used to generate the binstub\.
|
263
260
|
.
|
264
261
|
.IP "\(bu" 4
|
262
|
+
\fBsilence_deprecations\fR (\fBBUNDLE_SILENCE_DEPRECATIONS\fR): Whether Bundler should silence deprecation warnings for behavior that will be changed in the next major version\.
|
263
|
+
.
|
264
|
+
.IP "\(bu" 4
|
265
265
|
\fBsilence_root_warning\fR (\fBBUNDLE_SILENCE_ROOT_WARNING\fR): Silence the warning Bundler prints when installing gems as root\.
|
266
266
|
.
|
267
267
|
.IP "\(bu" 4
|
@@ -318,7 +318,7 @@ Bundler also allows you to work against a git repository locally instead of usin
|
|
318
318
|
.
|
319
319
|
.nf
|
320
320
|
|
321
|
-
bundle config local\.GEM_NAME /path/to/local/git/repository
|
321
|
+
bundle config set local\.GEM_NAME /path/to/local/git/repository
|
322
322
|
.
|
323
323
|
.fi
|
324
324
|
.
|
@@ -331,7 +331,7 @@ For example, in order to use a local Rack repository, a developer could call:
|
|
331
331
|
.
|
332
332
|
.nf
|
333
333
|
|
334
|
-
bundle config local\.rack ~/Work/git/rack
|
334
|
+
bundle config set local\.rack ~/Work/git/rack
|
335
335
|
.
|
336
336
|
.fi
|
337
337
|
.
|
@@ -353,7 +353,7 @@ Bundler supports overriding gem sources with mirrors\. This allows you to config
|
|
353
353
|
.
|
354
354
|
.nf
|
355
355
|
|
356
|
-
bundle config mirror\.SOURCE_URL MIRROR_URL
|
356
|
+
bundle config set mirror\.SOURCE_URL MIRROR_URL
|
357
357
|
.
|
358
358
|
.fi
|
359
359
|
.
|
@@ -366,7 +366,7 @@ For example, to use a mirror of rubygems\.org hosted at rubygems\-mirror\.org:
|
|
366
366
|
.
|
367
367
|
.nf
|
368
368
|
|
369
|
-
bundle config mirror\.http://rubygems\.org http://rubygems\-mirror\.org
|
369
|
+
bundle config set mirror\.http://rubygems\.org http://rubygems\-mirror\.org
|
370
370
|
.
|
371
371
|
.fi
|
372
372
|
.
|
@@ -379,7 +379,7 @@ Each mirror also provides a fallback timeout setting\. If the mirror does not re
|
|
379
379
|
.
|
380
380
|
.nf
|
381
381
|
|
382
|
-
bundle config mirror\.SOURCE_URL\.fallback_timeout TIMEOUT
|
382
|
+
bundle config set mirror\.SOURCE_URL\.fallback_timeout TIMEOUT
|
383
383
|
.
|
384
384
|
.fi
|
385
385
|
.
|
@@ -392,7 +392,7 @@ For example, to fall back to rubygems\.org after 3 seconds:
|
|
392
392
|
.
|
393
393
|
.nf
|
394
394
|
|
395
|
-
bundle config mirror\.https://rubygems\.org\.fallback_timeout 3
|
395
|
+
bundle config set mirror\.https://rubygems\.org\.fallback_timeout 3
|
396
396
|
.
|
397
397
|
.fi
|
398
398
|
.
|
@@ -408,7 +408,7 @@ Bundler allows you to configure credentials for any gem source, which allows you
|
|
408
408
|
.
|
409
409
|
.nf
|
410
410
|
|
411
|
-
bundle config SOURCE_HOSTNAME USERNAME:PASSWORD
|
411
|
+
bundle config set SOURCE_HOSTNAME USERNAME:PASSWORD
|
412
412
|
.
|
413
413
|
.fi
|
414
414
|
.
|
@@ -421,7 +421,7 @@ For example, to save the credentials of user \fBclaudette\fR for the gem source
|
|
421
421
|
.
|
422
422
|
.nf
|
423
423
|
|
424
|
-
bundle config gems\.longerous\.com claudette:s00pers3krit
|
424
|
+
bundle config set gems\.longerous\.com claudette:s00pers3krit
|
425
425
|
.
|
426
426
|
.fi
|
427
427
|
.
|
@@ -447,7 +447,7 @@ For gems with a git source with HTTP(S) URL you can specify credentials like so:
|
|
447
447
|
.
|
448
448
|
.nf
|
449
449
|
|
450
|
-
bundle config https://github\.com/bundler/bundler\.git username:password
|
450
|
+
bundle config set https://github\.com/bundler/bundler\.git username:password
|
451
451
|
.
|
452
452
|
.fi
|
453
453
|
.
|