rubygems-update 3.3.20 → 3.3.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Manifest.txt +4 -1
- data/bundler/CHANGELOG.md +23 -0
- data/bundler/UPGRADING.md +11 -4
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/platform.rb +1 -1
- data/bundler/lib/bundler/definition.rb +27 -22
- data/bundler/lib/bundler/endpoint_specification.rb +1 -12
- data/bundler/lib/bundler/gem_version_promoter.rb +4 -0
- data/bundler/lib/bundler/inline.rb +1 -1
- data/bundler/lib/bundler/installer.rb +6 -11
- data/bundler/lib/bundler/lazy_specification.rb +2 -4
- data/bundler/lib/bundler/man/bundle-add.1 +1 -1
- data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
- data/bundler/lib/bundler/man/bundle-check.1 +1 -1
- data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
- data/bundler/lib/bundler/man/bundle-config.1 +11 -2
- data/bundler/lib/bundler/man/bundle-config.1.ronn +4 -1
- data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
- data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
- data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
- data/bundler/lib/bundler/man/bundle-info.1 +1 -1
- data/bundler/lib/bundler/man/bundle-init.1 +1 -1
- data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
- data/bundler/lib/bundler/man/bundle-install.1 +1 -1
- data/bundler/lib/bundler/man/bundle-list.1 +1 -1
- data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
- data/bundler/lib/bundler/man/bundle-open.1 +1 -1
- data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
- data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
- data/bundler/lib/bundler/man/bundle-plugin.1 +81 -0
- data/bundler/lib/bundler/man/bundle-plugin.1.ronn +59 -0
- data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
- data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
- data/bundler/lib/bundler/man/bundle-show.1 +1 -1
- data/bundler/lib/bundler/man/bundle-update.1 +1 -1
- data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
- data/bundler/lib/bundler/man/bundle.1 +5 -1
- data/bundler/lib/bundler/man/bundle.1.ronn +3 -0
- data/bundler/lib/bundler/man/gemfile.5 +1 -1
- data/bundler/lib/bundler/man/index.txt +1 -0
- data/bundler/lib/bundler/match_metadata.rb +13 -0
- data/bundler/lib/bundler/match_remote_metadata.rb +26 -0
- data/bundler/lib/bundler/plugin.rb +2 -0
- data/bundler/lib/bundler/remote_specification.rb +1 -7
- data/bundler/lib/bundler/resolver/spec_group.rb +11 -8
- data/bundler/lib/bundler/resolver.rb +39 -17
- data/bundler/lib/bundler/rubygems_ext.rb +28 -0
- data/bundler/lib/bundler/spec_set.rb +19 -9
- data/bundler/lib/bundler/version.rb +1 -1
- data/bundler/lib/bundler.rb +3 -4
- data/lib/rubygems/platform.rb +16 -5
- data/lib/rubygems.rb +1 -1
- data/rubygems-update.gemspec +1 -1
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.lock +4 -4
- data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.toml +1 -1
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock +4 -4
- data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml +1 -1
- data/test/rubygems/test_gem_platform.rb +41 -2
- data/test/rubygems/test_gem_resolver.rb +37 -3
- metadata +7 -4
- data/bundler/lib/bundler/incomplete_specification.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abfdbab5d664b8189d2ee8b68769e3530bb7ffb54b324b61b70eae773305e142
|
4
|
+
data.tar.gz: 7f2b71150cc622d254ea1287dff9dc8c6879a662a2e8452035666f020d1f1be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e7973dc92bf831135bfae7327b8f1dd11a890693c4bbfbaf9adac050ce6c6d12c4176f74ec3f372f57a712bcb524e25569e1afde66f48b9a19b421966c61796
|
7
|
+
data.tar.gz: 993a269fd39cea74ea2c136812e691d1c9b8477470d5180d2f0a06c4819800fabded2a401b2267bbdde72731c4bbb40f14e468d05a8fc52c7b3216a49ea2df30
|
data/CHANGELOG.md
CHANGED
data/Manifest.txt
CHANGED
@@ -80,7 +80,6 @@ bundler/lib/bundler/gem_helpers.rb
|
|
80
80
|
bundler/lib/bundler/gem_tasks.rb
|
81
81
|
bundler/lib/bundler/gem_version_promoter.rb
|
82
82
|
bundler/lib/bundler/graph.rb
|
83
|
-
bundler/lib/bundler/incomplete_specification.rb
|
84
83
|
bundler/lib/bundler/index.rb
|
85
84
|
bundler/lib/bundler/injector.rb
|
86
85
|
bundler/lib/bundler/inline.rb
|
@@ -128,6 +127,8 @@ bundler/lib/bundler/man/bundle-outdated.1
|
|
128
127
|
bundler/lib/bundler/man/bundle-outdated.1.ronn
|
129
128
|
bundler/lib/bundler/man/bundle-platform.1
|
130
129
|
bundler/lib/bundler/man/bundle-platform.1.ronn
|
130
|
+
bundler/lib/bundler/man/bundle-plugin.1
|
131
|
+
bundler/lib/bundler/man/bundle-plugin.1.ronn
|
131
132
|
bundler/lib/bundler/man/bundle-pristine.1
|
132
133
|
bundler/lib/bundler/man/bundle-pristine.1.ronn
|
133
134
|
bundler/lib/bundler/man/bundle-remove.1
|
@@ -143,7 +144,9 @@ bundler/lib/bundler/man/bundle.1.ronn
|
|
143
144
|
bundler/lib/bundler/man/gemfile.5
|
144
145
|
bundler/lib/bundler/man/gemfile.5.ronn
|
145
146
|
bundler/lib/bundler/man/index.txt
|
147
|
+
bundler/lib/bundler/match_metadata.rb
|
146
148
|
bundler/lib/bundler/match_platform.rb
|
149
|
+
bundler/lib/bundler/match_remote_metadata.rb
|
147
150
|
bundler/lib/bundler/mirror.rb
|
148
151
|
bundler/lib/bundler/plugin.rb
|
149
152
|
bundler/lib/bundler/plugin/api.rb
|
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
# 2.3.21 (August 24, 2022)
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
- Backport non gnu libc linux support from RubyGems [#4488](https://github.com/rubygems/rubygems/pull/4488)
|
6
|
+
- Improve `Bundler.rm_rf` error message [#5861](https://github.com/rubygems/rubygems/pull/5861)
|
7
|
+
- Disallow both `--branch` and `--ref` at the same time in bundle-plugin [#5855](https://github.com/rubygems/rubygems/pull/5855)
|
8
|
+
- Restore previous performance of private RubyGems servers [#5826](https://github.com/rubygems/rubygems/pull/5826)
|
9
|
+
|
10
|
+
## Bug fixes:
|
11
|
+
|
12
|
+
- Fix conservative update downgrading top level gems [#5847](https://github.com/rubygems/rubygems/pull/5847)
|
13
|
+
- Fix edge case where `bundler/inline` unintentionally skips install [#5848](https://github.com/rubygems/rubygems/pull/5848)
|
14
|
+
- Fix `bundle platform` crash when there's a lockfile with no Ruby locked [#5850](https://github.com/rubygems/rubygems/pull/5850)
|
15
|
+
- Fix crash when incomplete locked specifications are found in transitive dependencies [#5840](https://github.com/rubygems/rubygems/pull/5840)
|
16
|
+
- Fix Ruby platform incorrectly removed on `bundle update` [#5832](https://github.com/rubygems/rubygems/pull/5832)
|
17
|
+
|
18
|
+
## Documentation:
|
19
|
+
|
20
|
+
- Explain cancelled CLI deprecations clearly [#5864](https://github.com/rubygems/rubygems/pull/5864)
|
21
|
+
- Improve `bundle config` command synopsis [#5854](https://github.com/rubygems/rubygems/pull/5854)
|
22
|
+
- Introduce bundle-plugin(1) man [#5853](https://github.com/rubygems/rubygems/pull/5853)
|
23
|
+
|
1
24
|
# 2.3.20 (August 10, 2022)
|
2
25
|
|
3
26
|
## Enhancements:
|
data/bundler/UPGRADING.md
CHANGED
@@ -25,7 +25,7 @@ I'll be dividing the deprecations into four groups: CLI deprecations, Helper
|
|
25
25
|
deprecations, DSL deprecations, and misc deprecations. Let's dive into each of
|
26
26
|
them.
|
27
27
|
|
28
|
-
|
28
|
+
### CLI deprecations
|
29
29
|
|
30
30
|
The CLI defines a set of commands and options that can be used by our users to
|
31
31
|
create command lines that bundler can understand. There's a number of changes
|
@@ -82,7 +82,6 @@ in the upcoming 3 version.
|
|
82
82
|
in favor of a `bin/console` script created by `bundle gem` on gem generation
|
83
83
|
that users can tweak to their needs.
|
84
84
|
|
85
|
-
* ~The `bundle update` command will no longer update all gems, you'll need to pass `--all` to it.~ (postponed)
|
86
85
|
|
87
86
|
* The `bundle install` command will no longer accept a `--binstubs` flag.
|
88
87
|
|
@@ -94,7 +93,6 @@ in the upcoming 3 version.
|
|
94
93
|
likely unused files into source control. Because of this, binstubs now must
|
95
94
|
be created and checked into version control individually.
|
96
95
|
|
97
|
-
* ~The `bundle config` command has a new subcommand-based interface.~ (postponed)
|
98
96
|
|
99
97
|
* The `bundle inject` command is deprecated and replaced with `bundle add`.
|
100
98
|
|
@@ -103,7 +101,16 @@ in the upcoming 3 version.
|
|
103
101
|
exactly the same in `bundle add`, so it should be easy to migrate to the new
|
104
102
|
command.
|
105
103
|
|
106
|
-
####
|
104
|
+
#### Cancelled CLI deprecations
|
105
|
+
|
106
|
+
These deprecations have been initally announced before, but the deprecations
|
107
|
+
were cancelled before the release of Bundler 2.1.0 in [rubygems/bundler#7475](https://github.com/rubygems/bundler/pull/7475).
|
108
|
+
|
109
|
+
* ~The `bundle update` command will no longer update all gems, you'll need to pass `--all` to it.~ (postponed)
|
110
|
+
|
111
|
+
* ~The `bundle config` command will no longer accept old subcommand-based interface before Bundler 2.1.~ (postponed)
|
112
|
+
|
113
|
+
### Helper deprecations
|
107
114
|
|
108
115
|
* `Bundler.clean_env`, `Bundler.with_clean_env`, `Bundler.clean_system`, and `Bundler.clean_exec` are deprecated.
|
109
116
|
|
@@ -4,8 +4,8 @@ module Bundler
|
|
4
4
|
# Represents metadata from when the Bundler gem was built.
|
5
5
|
module BuildMetadata
|
6
6
|
# begin ivars
|
7
|
-
@built_at = "2022-08-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2022-08-24".freeze
|
8
|
+
@git_commit_sha = "d54be5fdd8".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
@@ -9,7 +9,7 @@ module Bundler
|
|
9
9
|
|
10
10
|
def run
|
11
11
|
platforms, ruby_version = Bundler.ui.silence do
|
12
|
-
locked_ruby_version = Bundler.locked_gems && Bundler.locked_gems.ruby_version
|
12
|
+
locked_ruby_version = Bundler.locked_gems && Bundler.locked_gems.ruby_version&.gsub(/p\d+\Z/, "")
|
13
13
|
gemfile_ruby_version = Bundler.definition.ruby_version && Bundler.definition.ruby_version.single_version_string
|
14
14
|
[Bundler.definition.platforms.map {|p| "* #{p}" },
|
15
15
|
locked_ruby_version || gemfile_ruby_version]
|
@@ -145,8 +145,6 @@ module Bundler
|
|
145
145
|
@dependency_changes = converge_dependencies
|
146
146
|
@local_changes = converge_locals
|
147
147
|
|
148
|
-
@reresolve = nil
|
149
|
-
|
150
148
|
@requires = compute_requires
|
151
149
|
end
|
152
150
|
|
@@ -218,6 +216,7 @@ module Bundler
|
|
218
216
|
true
|
219
217
|
rescue BundlerError => e
|
220
218
|
@resolve = nil
|
219
|
+
@resolver = nil
|
221
220
|
@specs = nil
|
222
221
|
@gem_version_promoter = nil
|
223
222
|
|
@@ -288,7 +287,7 @@ module Bundler
|
|
288
287
|
end
|
289
288
|
else
|
290
289
|
Bundler.ui.debug("Found changes from the lockfile, re-resolving dependencies because #{change_reason}")
|
291
|
-
|
290
|
+
resolver.start(expanded_dependencies)
|
292
291
|
end
|
293
292
|
end
|
294
293
|
|
@@ -482,11 +481,18 @@ module Bundler
|
|
482
481
|
|
483
482
|
private
|
484
483
|
|
485
|
-
def
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
484
|
+
def resolver
|
485
|
+
@resolver ||= begin
|
486
|
+
last_resolve = converge_locked_specs
|
487
|
+
Resolver.new(source_requirements, last_resolve, gem_version_promoter, additional_base_requirements_for_resolve, platforms)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
def expanded_dependencies
|
492
|
+
@expanded_dependencies ||= begin
|
493
|
+
remove_ruby_from_platforms_if_necessary!(dependencies)
|
494
|
+
expand_dependencies(dependencies + metadata_dependencies, true)
|
495
|
+
end
|
490
496
|
end
|
491
497
|
|
492
498
|
def filter_specs(specs, deps)
|
@@ -514,15 +520,13 @@ module Bundler
|
|
514
520
|
raise GemNotFound, "Could not find #{missing_specs_list.join(" nor ")}"
|
515
521
|
end
|
516
522
|
|
517
|
-
|
523
|
+
loop do
|
518
524
|
incomplete_specs = specs.incomplete_specs
|
525
|
+
break if incomplete_specs.empty?
|
519
526
|
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
@resolve = reresolve
|
524
|
-
specs = resolve.materialize(dependencies)
|
525
|
-
end
|
527
|
+
Bundler.ui.debug("The lockfile does not have all gems needed for the current platform though, Bundler will still re-resolve dependencies")
|
528
|
+
@resolve = resolver.start(expanded_dependencies, :exclude_specs => incomplete_specs)
|
529
|
+
specs = resolve.materialize(dependencies)
|
526
530
|
end
|
527
531
|
|
528
532
|
bundler = sources.metadata_source.specs.search(Gem::Dependency.new("bundler", VERSION)).last
|
@@ -715,7 +719,9 @@ module Bundler
|
|
715
719
|
# commonly happen if the Gemfile has changed since the lockfile was last
|
716
720
|
# generated
|
717
721
|
def converge_locked_specs
|
718
|
-
|
722
|
+
converged = converge_specs(@locked_specs)
|
723
|
+
|
724
|
+
resolve = SpecSet.new(converged.reject {|s| @unlock[:gems].include?(s.name) })
|
719
725
|
|
720
726
|
diff = nil
|
721
727
|
|
@@ -788,7 +794,7 @@ module Bundler
|
|
788
794
|
end
|
789
795
|
end
|
790
796
|
|
791
|
-
|
797
|
+
filter_specs(converged, deps)
|
792
798
|
end
|
793
799
|
|
794
800
|
def metadata_dependencies
|
@@ -877,10 +883,8 @@ module Bundler
|
|
877
883
|
def additional_base_requirements_for_resolve
|
878
884
|
return [] unless @locked_gems && unlocking? && !sources.expired_sources?(@locked_gems.sources)
|
879
885
|
converge_specs(@originally_locked_specs).map do |locked_spec|
|
880
|
-
name
|
881
|
-
|
882
|
-
DepProxy.get_proxy(dep, locked_spec.platform)
|
883
|
-
end
|
886
|
+
Dependency.new(locked_spec.name, ">= #{locked_spec.version}")
|
887
|
+
end.uniq
|
884
888
|
end
|
885
889
|
|
886
890
|
def remove_ruby_from_platforms_if_necessary!(dependencies)
|
@@ -888,10 +892,11 @@ module Bundler
|
|
888
892
|
Bundler.local_platform == Gem::Platform::RUBY ||
|
889
893
|
!platforms.include?(Gem::Platform::RUBY) ||
|
890
894
|
(@new_platform && platforms.last == Gem::Platform::RUBY) ||
|
891
|
-
!@originally_locked_specs.incomplete_ruby_specs?(dependencies)
|
895
|
+
!@originally_locked_specs.incomplete_ruby_specs?(expand_dependencies(dependencies))
|
892
896
|
|
893
897
|
remove_platform(Gem::Platform::RUBY)
|
894
898
|
add_current_platform
|
899
|
+
resolver.platforms = @platforms
|
895
900
|
end
|
896
901
|
|
897
902
|
def source_map
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Bundler
|
4
4
|
# used for Creating Specifications from the Gemcutter Endpoint
|
5
5
|
class EndpointSpecification < Gem::Specification
|
6
|
-
include
|
6
|
+
include MatchRemoteMetadata
|
7
7
|
|
8
8
|
attr_reader :name, :version, :platform, :checksum
|
9
9
|
attr_accessor :source, :remote, :dependencies
|
@@ -22,17 +22,6 @@ module Bundler
|
|
22
22
|
parse_metadata(metadata)
|
23
23
|
end
|
24
24
|
|
25
|
-
def required_ruby_version
|
26
|
-
@required_ruby_version ||= _remote_specification.required_ruby_version
|
27
|
-
end
|
28
|
-
|
29
|
-
# A fallback is included because the original version of the specification
|
30
|
-
# API didn't include that field, so some marshalled specs in the index have it
|
31
|
-
# set to +nil+.
|
32
|
-
def required_rubygems_version
|
33
|
-
@required_rubygems_version ||= _remote_specification.required_rubygems_version || Gem::Requirement.default
|
34
|
-
end
|
35
|
-
|
36
25
|
def fetch_platform
|
37
26
|
@platform
|
38
27
|
end
|
@@ -54,7 +54,7 @@ def gemfile(install = false, options = {}, &gemfile)
|
|
54
54
|
|
55
55
|
Bundler.ui = install ? ui : Bundler::UI::Silent.new
|
56
56
|
if install || definition.missing_specs?
|
57
|
-
Bundler.settings.temporary(:inline => true) do
|
57
|
+
Bundler.settings.temporary(:inline => true, :no_install => false) do
|
58
58
|
installer = Bundler::Installer.install(Bundler.root, definition, :system => true)
|
59
59
|
installer.post_install_messages.each do |name, message|
|
60
60
|
Bundler.ui.info "Post-install message from #{name}:\n#{message}"
|
@@ -238,19 +238,14 @@ module Bundler
|
|
238
238
|
end
|
239
239
|
|
240
240
|
def ensure_specs_are_compatible!
|
241
|
-
system_ruby = Bundler::RubyVersion.system
|
242
|
-
rubygems_version = Bundler.rubygems.version
|
243
241
|
@definition.specs.each do |spec|
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
"which is incompatible with the current version, #{system_ruby}"
|
248
|
-
end
|
242
|
+
unless spec.matches_current_ruby?
|
243
|
+
raise InstallError, "#{spec.full_name} requires ruby version #{spec.required_ruby_version}, " \
|
244
|
+
"which is incompatible with the current version, #{Gem.ruby_version}"
|
249
245
|
end
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
"which is incompatible with the current version, #{rubygems_version}"
|
246
|
+
unless spec.matches_current_rubygems?
|
247
|
+
raise InstallError, "#{spec.full_name} requires rubygems version #{spec.required_rubygems_version}, " \
|
248
|
+
"which is incompatible with the current version, #{Gem.rubygems_version}"
|
254
249
|
end
|
255
250
|
end
|
256
251
|
end
|
@@ -1,7 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative "match_platform"
|
4
|
-
|
5
3
|
module Bundler
|
6
4
|
class LazySpecification
|
7
5
|
include MatchPlatform
|
@@ -97,8 +95,8 @@ module Bundler
|
|
97
95
|
@specification = begin
|
98
96
|
search = candidates.reverse.find do |spec|
|
99
97
|
spec.is_a?(StubSpecification) ||
|
100
|
-
(spec.
|
101
|
-
spec.
|
98
|
+
(spec.matches_current_ruby? &&
|
99
|
+
spec.matches_current_rubygems?)
|
102
100
|
end
|
103
101
|
if search.nil? && Bundler.frozen_bundle?
|
104
102
|
search = candidates.last
|
@@ -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\-CACHE" "1" "
|
4
|
+
.TH "BUNDLE\-CACHE" "1" "August 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
|
@@ -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" "August 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
@@ -1,13 +1,22 @@
|
|
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" "
|
4
|
+
.TH "BUNDLE\-CONFIG" "1" "August 2022" "" ""
|
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
|
10
|
+
\fBbundle config\fR list
|
11
|
+
.
|
12
|
+
.br
|
13
|
+
\fBbundle config\fR [get] NAME
|
14
|
+
.
|
15
|
+
.br
|
16
|
+
\fBbundle config\fR [set] NAME VALUE
|
17
|
+
.
|
18
|
+
.br
|
19
|
+
\fBbundle config\fR unset NAME
|
11
20
|
.
|
12
21
|
.SH "DESCRIPTION"
|
13
22
|
This command allows you to interact with Bundler\'s configuration system\.
|
@@ -3,7 +3,10 @@ bundle-config(1) -- Set bundler configuration options
|
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`bundle config`
|
6
|
+
`bundle config` list<br>
|
7
|
+
`bundle config` [get] NAME<br>
|
8
|
+
`bundle config` [set] NAME VALUE<br>
|
9
|
+
`bundle config` unset NAME
|
7
10
|
|
8
11
|
## DESCRIPTION
|
9
12
|
|
@@ -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" "August 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory
|
@@ -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" "August 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
@@ -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\-INSTALL" "1" "
|
4
|
+
.TH "BUNDLE\-INSTALL" "1" "August 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
@@ -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\-OUTDATED" "1" "
|
4
|
+
.TH "BUNDLE\-OUTDATED" "1" "August 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-outdated\fR \- List installed gems with newer versions available
|
@@ -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\-PLATFORM" "1" "
|
4
|
+
.TH "BUNDLE\-PLATFORM" "1" "August 2022" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-platform\fR \- Displays platform compatibility information
|
@@ -0,0 +1,81 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "BUNDLE\-PLUGIN" "1" "August 2022" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBbundle\-plugin\fR \- Manage Bundler plugins
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBbundle plugin\fR install PLUGINS [\-\-source=\fISOURCE\fR] [\-\-version=\fIversion\fR] [\-\-git|\-\-local_git=\fIgit\-url\fR] [\-\-branch=\fIbranch\fR|\-\-ref=\fIrev\fR]
|
11
|
+
.
|
12
|
+
.br
|
13
|
+
\fBbundle plugin\fR uninstall PLUGINS
|
14
|
+
.
|
15
|
+
.br
|
16
|
+
\fBbundle plugin\fR list
|
17
|
+
.
|
18
|
+
.br
|
19
|
+
\fBbundle plugin\fR help [COMMAND]
|
20
|
+
.
|
21
|
+
.SH "DESCRIPTION"
|
22
|
+
You can install, uninstall, and list plugin(s) with this command to extend functionalities of Bundler\.
|
23
|
+
.
|
24
|
+
.SH "SUB\-COMMANDS"
|
25
|
+
.
|
26
|
+
.SS "install"
|
27
|
+
Install the given plugin(s)\.
|
28
|
+
.
|
29
|
+
.IP "\(bu" 4
|
30
|
+
\fBbundle plugin install bundler\-graph\fR: Install bundler\-graph gem from RubyGems\.org\. The global source, specified in source in Gemfile is ignored\.
|
31
|
+
.
|
32
|
+
.IP "\(bu" 4
|
33
|
+
\fBbundle plugin install bundler\-graph \-\-source https://example\.com\fR: Install bundler\-graph gem from example\.com\. The global source, specified in source in Gemfile is not considered\.
|
34
|
+
.
|
35
|
+
.IP "\(bu" 4
|
36
|
+
\fBbundle plugin install bundler\-graph \-\-version 0\.2\.1\fR: You can specify the version of the gem via \fB\-\-version\fR\.
|
37
|
+
.
|
38
|
+
.IP "\(bu" 4
|
39
|
+
\fBbundle plugin install bundler\-graph \-\-git https://github\.com/rubygems/bundler\-graph\fR: Install bundler\-graph gem from Git repository\. \fB\-\-git\fR can be replaced with \fB\-\-local\-git\fR\. You cannot use both \fB\-\-git\fR and \fB\-\-local\-git\fR\. You can use standard Git URLs like:
|
40
|
+
.
|
41
|
+
.IP "\(bu" 4
|
42
|
+
\fBssh://[user@]host\.xz[:port]/path/to/repo\.git\fR
|
43
|
+
.
|
44
|
+
.IP "\(bu" 4
|
45
|
+
\fBhttp[s]://host\.xz[:port]/path/to/repo\.git\fR
|
46
|
+
.
|
47
|
+
.IP "\(bu" 4
|
48
|
+
\fB/path/to/repo\fR
|
49
|
+
.
|
50
|
+
.IP "\(bu" 4
|
51
|
+
\fBfile:///path/to/repo\fR
|
52
|
+
.
|
53
|
+
.IP "" 0
|
54
|
+
.
|
55
|
+
.IP
|
56
|
+
When you specify \fB\-\-git\fR/\fB\-\-local\-git\fR, you can use \fB\-\-branch\fR or \fB\-\-ref\fR to specify any branch, tag, or commit hash (revision) to use\. When you specify both, only the latter is used\.
|
57
|
+
.
|
58
|
+
.IP "" 0
|
59
|
+
.
|
60
|
+
.SS "uninstall"
|
61
|
+
Uninstall the plugin(s) specified in PLUGINS\.
|
62
|
+
.
|
63
|
+
.SS "list"
|
64
|
+
List the installed plugins and available commands\.
|
65
|
+
.
|
66
|
+
.P
|
67
|
+
No options\.
|
68
|
+
.
|
69
|
+
.SS "help"
|
70
|
+
Describe subcommands or one specific subcommand\.
|
71
|
+
.
|
72
|
+
.P
|
73
|
+
No options\.
|
74
|
+
.
|
75
|
+
.SH "SEE ALSO"
|
76
|
+
.
|
77
|
+
.IP "\(bu" 4
|
78
|
+
How to write a Bundler plugin \fIhttps://bundler\.io/guides/bundler_plugins\.html\fR
|
79
|
+
.
|
80
|
+
.IP "" 0
|
81
|
+
|